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


Hello guys!

Im using CategoryDateTimeAxis, and want to add data to begin and to the end
To add to end im using SciChartSurface.Append
Is there any method to add to begin?
Shall i use OhlcDataSeries.Insert?

  • You must to post comments

Hi there,

Yes, OhlcDataSeries.Insert(0, open, high, low, close) should do the trick.

Just be aware Inserts() are a slower operation than Append() so use them sparingly!

Best regards,

  • VRueda
    Hello AndrewDoes it move all data from [0, n] to [1, n+1]?
  • Andrew
    Yes it does. DataSeries.Insert basically acts like .NET’s List.Insert. All data after the index is moved by one point to the right.
  • You must to post comments
Showing 1 result