Hi folks,
I’ve just upgraded a project to SciChart version 3.x. I got most everything working, but one issue remains…
In 1.x and 2.x, I was able to hide cursor labels by adding an empty AxisLabelTemplate like this:
<s:CursorModifier x:Name="MainCursor" ShowAxisLabels="True" ShowTooltip="False" LineOverlayStyle="{x:Null}">
<s:CursorModifier.AxisLabelTemplate>
<!-- This empty template hides Themes cursor labels -->
<ControlTemplate TargetType="s:TemplatableControl" />
</s:CursorModifier.AxisLabelTemplate>
</s:CursorModifier>
In 3.x, this doesn’t quite seem to work. I have no y-axis cursor label, but I do have an x-axis cursor label. (My axes are treated differently; one is in XAML, and one is in code since I swap between linear and log axes occasionally.)
How can I get rid of the x-axis cursor?
Thanks,
–George
- yefchak asked 10 years ago
- You must login to post comments
Ah… the extra label was coming from the rollover. I added AxisLabelTemplate=”{x:Null}” to my RolloverModifier, and now it’s working properly. Curious that this wasn’t necessary under 2.x
Thanks,
–George
- yefchak answered 10 years ago
-
Aha - perhaps because XAxis label wasn't a feature in rollover in 2.x! I'm glad you got it sorted!!
- You must login to post comments
Please login first to submit.