SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
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
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
Please login first to submit.