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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

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

  • You must to post comments
0
0

Hi Egbert,

Please, try to set AxisBase.CursorTextFormatting to proper formatting string, e.g. YAxis.CursorTextFormatting=”#0.0″.

Hope this helps!

Best regards,
Yuriy

  • EJansen
    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 to post comments
Showing 1 result
Your Answer

Please first to submit.