Pre loader

Is it possible to interrupt the line drawn by the FastLineRenderableSeries?

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

Have a look at the example. I’d like to get rid of the brown line between June 10 and 11. Since there’s no day between 10 and 11, I can’t use the draw NaN as gap option here. Or can I?

Thanks,
Ruud

Images
  • You must to post comments
0
0

Thanks for your reply. Your suggestion indeed puts a break in the line, but unfortunately it also moves everything after the gap one position to the right. So the June 12th value is displayed under June 13 etc…

What am I missing?

  • Andrew Burnett-Thompson
    I haven’t tried it but I can give you three simple things to try. Try X=10th, X=11th. What happens? If you are using CategoryDateTimeAxis it is important that all series have the same number of points unfortunately. So you will have to put a NaN in the Candlestick series as well. But that will probably have the side-effect of having a gap in the candlestick chart (undesired). Come of think of it the only way might be to override FastLineRenderableSeries.Draw and do the drawing yourself. We have a tutorial here on this powerful custom series API http://support.scichart.com/index.php?/Knowledgebase/Article/View/17254/41/creating-a-custom-spline-line-series
  • You must to post comments
0
0

If you repeat the point at either X=10th June or X=12th June but set Y=NaN it will put a break in the line.

So your data will look like

X=9th Y=(some value)
X=10th Y=(some value)
X=12th Y=NaN
X=12th Y=(some value)
X=13th Y=(some value)

  • You must to post comments
Showing 2 results
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