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?
- bbmat asked 5 years ago
- You must login to post comments
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
- Oleksandr Shvets answered 5 years ago
- You must login to post comments
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
- Yuriy Zadereckiy answered 5 years ago
-
@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 login to post comments
Please login first to submit.