Hi,
I’m using the CursorModifier to show the x and y values of the cursor.
<SciChart:SciChartSurface.ChartModifier>
<SciChart:ModifierGroup>
<SciChart:CursorModifier ShowTooltip="False" ShowAxisLabels="True" Cursor="Arrow"/>
</SciChart:ModifierGroup>
</SciChart:SciChartSurface.ChartModifier>
How can I change the format of the labels so it will display 8.1 instead of 8?
Thanks,
Egbert
- EJansen asked 11 years ago
- You must login to post comments
Hi Egbert,
Please, try to set AxisBase.CursorTextFormatting to proper formatting string, e.g. YAxis.CursorTextFormatting=”#0.0″.
Hope this helps!
Best regards,
Yuriy
- Yuriy Zadereckiy answered 11 years ago
-
Hi, I'm setting this property in xaml, but it still doesn't work.
<!-- Create a Y Axis --> <SciChart:SciChartSurface.YAxes> <SciChart:NumericAxis TickTextBrush="#FF4083B7" AxisAlignment="Left" AutoRange="False" DrawMinorTicks="False" DrawMinorGridLines="False" TextFormatting="0" CursorTextFormatting="#0.0" AxisTitle="()" FlipCoordinates="True" VisibleRange="{Binding Path=TimeYAxisVisibleRange}"> </SciChart:NumericAxis> </SciChart:SciChartSurface.YAxes> </SciChart:SciChartSurface >
Best regards, Egbert
- You must login to post comments
Please login first to submit.