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

0
0

I have several series on a surface and currently use the Rollovermodifier. It highlights the datapoint on each series that intersects with the current vertical line of the RolloverModifier. However, I don’t seem to be able to display the corresponding y-values on the Y-Axis. How can I accomplish such? Is there any easy way to show the y-value of each series on the y-Axis that intersects with the vertical line of the Rollovermodifier?

Version
5.x - 6.x
  • You must to post comments
0
0

Hi there,

Thanks for your question. It is possible to show axis labels on the Y-Axis. There is a property called ShowAxisLabels inherited from TooltipModifierBase that enables axis labels. By default, it shows a label on X-Axis only. To allow showing axis labels on Y-Axis too, you should set the RolloverModifier.AxisLabelTemplate attached property on your Y-Axis. Please check the “Styling the Rollover Axis Label” section in this documentation article.

Hope this helps,

Best regards,
Yuriy

  • bbmat
    @Yuriy, I can’t find how this is done in your link. I bind the Scichartsurface YAxes to multiple y-Axes via MVVM. Hence my binding of YAxes looks like this and I don’t seem to be able to attach any template: YAxes=”{Binding YAxes, Mode=TwoWay}”. Can you pls post an example how I can get this to work for all my YAxes?
  • You must to post comments
0
0

Hi there,

Thanks for your reply.
You can provide a Style for your Y-Axis and set RolloverModifier.AxisLabelTemplate in it.

Please take a look at the documentation regarding MVVM Axis API for more info:
https://www.scichart.com/documentation/v5.x/webframe.html#MVM%20Axis%20API.html

With best regards,
Oleksandr

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.