Pre loader

Looking for a SciStockChart with Rollover modifier example

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

Hi!

I want to add a rollover modifier that would show the Open, High, Low, Close and Date/Time of a bar on the chart in the upper left-hand corner (much like the https://www.scichart.com/example/wpf-chart/wpf-chart-example-using-rollovermodifier-tooltips/ example but for a SciStockChart) but I haven’t been able to figure out how to do so. I own SciChart v3.1.0.4549. Any help in this regard would be greatly appreciated. Thanks….

Version
3.1
  • You must to post comments
0
0

Hi Louis,

We have some examples which mix the SciStockChart with RolloverModifier. These are:

To enable the RolloverModifier with SciStockChart, simply set SciStockChart.IsRolloverEnabled (see SciStockChart documentation).

To style the RolloverModifier tooltips, the API is different in v3.1 vs. v4.

In v3.1 you need access to the actual RolloverModifier Instance to set RolloverModifier.TooltipTemplate. I would suggest doing this via a global style (implicit style) with TargetType RolloverModifier (please note, we are no longer supporting v3.1 of SciChart and are migrating all our documentation to the v4 API).

In v4 this API is greatly simplified. The RolloverModifier.TooltipTemplate is an attached property which is set on each RenderableSeries. For more information about this APi, please see the SciChart RolloverModifier Documentation.

Let me know if this helps,

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.