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….
- Louis Berman asked 8 years ago
- last edited 10 months ago
- You must login to post comments
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
- Andrew Burnett-Thompson answered 8 years ago
- last edited 10 months ago
- You must login to post comments
Please login first to submit.