Pre loader

Remove or Update values on an XyDataSeries

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

I’m trying to draw a swing chart, a blue zigzag line in the attached PNG, on top of a candlestick.

The problem is that the most recent swing low/high may turn out to be just a temporary swing low/high candidate actually, as a new data point arrives and it has a lower low or a higher high.

When it happens, I want to remove the recent swing low/high candidate, append a new candidate data point, and extend the swing line further.

Is there any other way to practically erase the recent swing low/high candidate, like updating it with NaN or something?

Images
  • You must to post comments
0
0

Hi Toshiyuki,

You may be interested in this answer on Fixing Data Values that Arrive in Non Sorted DateTime Order as this covers the DataSeries API, including ability to Add, Remove, Insert, Update points in detail.

Hope this helps!

  • 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