Broken line chart

Sep 22, 2012 at 5:30 PM

Hi there,

first of all I am very glad to know about OxyPlot. It seams promising.

However, I do not see any example about broken line chart as in Visifire (see http://www.visifire.com/silverlight_line_charts_gallery.php).

Is there any plan to support that feature?

Cheers, Francois

Sep 24, 2012 at 9:37 AM

Currently, invalid data points (null / NaN) creates an "invisible" broken line (no dashed line is shown). I agree there could be an option to draw a dashed line. Vote on http://oxyplot.codeplex.com/workitem/10007

Oct 1, 2012 at 5:28 PM

For those who wonders how to code the invisible broken line, here is an example:

LineSeries series = new LineSeries("MySerie");
series.Points.Add(new DataPoint(5, 10));
series.Points.Add(new DataPoint(10, 10));
series.Points.Add(new DataPoint(Double.NaN, Double.NaN));
series.Points.Add(new DataPoint(20, 10));
series.Points.Add(new DataPoint(30, 10));