SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & 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

Hello !

I have a chart displaying very accurate data and I would like the RolloverModifier to adopt the same format as my Y axis.
I want to avoid problems similar to the one on the screenshot attached. The tooltip is indicating -0 and I would like it to display something like -2.5E-6.

Thank you for your help,

Adrien

Version
24
Images
  • You must to post comments
0
0

Hi Adrien,

You can set cursor text formatting property for your xAxis/yAxis and modifier tooltips will be formatted according to specified format string:

        final IAxis yAxis = new NumericAxis(getContext());

        yAxis.setCursorTextFormatting("0.0E+0");

Or you can create custom label provider for your axis and implement formatting there. For more information please take a look on our LabelProvider API tutorial.

Hope this will help you!

Best regards,
Yura

  • You must to post comments
0
0

Thank you very much.

yAxis.setCursorTextFormatting("0.0E+0");

did the trick 🙂

Best Regards,

Adrien

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.