Reference > Style examples > Segmented lines are used at missing values

Segmented lines are used at missing values

Normally, lines are continued across missing values, joining the points on each side. This style forces the line to break either side of missing data. Applies to LineGraphs and StepCharts when these are not surface shaded.


sp.LineGraphStyle = LineGraphStyles.SegmentLines;

Note that no line will be drawn unless there are at least 2 points between any run of missing values.

See also ...

SharpPlot Members | LineGraphStyle Property | StepChartStyle Property


Send comments on this topic
© Dyalog Ltd 2013