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

0
0

Hi SciChart,

using the default RolloverModifier with CandleStick Charts will add a white circle at the candle’s close position. Is it possible to change this position to the high/low value of this candle? I’ve tried with a derived RolloverModifier and found the AttachRolloverMarker function to override. But I’ve absolutely no idea how to proceed from there on.

Any help is greatly appreciated.

Thanks,

René

Version
6.2.1
  • You must to post comments
0
0

Hi René,

Thanks for your inquiry.
You should change TooltipTemplate for Rollover on the FastCandlestickRenderableSeries. Please see the “Styling the Tooltip ItemTemplate” section of the following documentation article:
https://www.scichart.com/documentation/win/current/webframe.html#RolloverModifier.html

The DataContext for Tooltips is OhlcSeriesInfo:
https://www.scichart.com/documentation/win/current/webframe.html#SciChart.Charting~SciChart.Charting.Model.ChartData.OhlcSeriesInfo.html

OhlcSeriesInfo already contains hit-test values for Open, High, and Low.
Please take a look at the following documentation for more info:
https://www.scichart.com/documentation/win/current/webframe.html#SeriesInfo%20%E2%80%93%20the%20ViewModels%20for%20Tooltips%20and%20Legends.html

Hope this helps.

With best regards,
Oleksandr

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.