Pre loader

Single points and gaps issue

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

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 Burnett-Thompson
    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.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies