Hello,
I’m using line series with LineDrawMode.Gaps, if dataseries contain single points with gaps, chars looks empty. I found only one way to see the data points – set PointMarker, but in other cases without gaps, point marhers are not needed for the line series. Is there any way to show single points when gaps are presented w/o point markers or paint point markers only for single series?
var renderableSeries = new FastLineRenderableSeries()
{
Stroke = DataManager.Instance.GetRandomColor(),
DataSeries = dataSeries,
StrokeThickness = 2,
DrawNaNAs = LineDrawMode.Gaps,
};
//renderableSeries.PointMarker = new EllipsePointMarker() { Width = 5, Height = 5, Fill = renderableSeries.Stroke, Stroke = renderableSeries.Stroke, StrokeThickness = 2 };
sciChart.RenderableSeries.Add(renderableSeries);
- Ivan Voyager asked 8 years ago
- last edited 8 years ago
-
Hi Ivan, please explain further (the data you are appending to chart). From my understanding so far, you have some datapoint like x x x x o x x x (where x = NaN, or empty point, and O = a real point) and the chart is empty. Wouldn’t this be expected? You can’t draw a line segment with one point.
-
The example added below.
- You must login to post comments
I attached the sample.
Observed behaviour: the series {4,2} is not visible. If uncomment line renderableSeries.PointMarker, the series is visible.
Expected behaviour: visualize {4,2} by same way as with PointMarker, but w/o PointMarkers for other points connected with lines. Or how set point marker only for {4,2}?
- Ivan Voyager answered 8 years ago
- last edited 8 years ago
- You must login to post comments
Please login first to submit.