SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

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);
Version
4.0.6.8482
Images
  • Andrew
    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.
  • Ivan Voyager
    The example added below.
  • You must to post comments
0
0

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}?

Attachments
Images
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.