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

0
0

Hi,

If we display data (in our example in volts) in a range from 0 to 1 and set the visiblerange to that, data is being displayed correctly and the labels on the yaxis are 0, 0.1, 0.2, 0.3 till 1.0. (axis title is showing Volts)

But we would like to show integer numbers on the yaxis, in our example from 0 to 1000 and change the axis title to mVolts.

Is it possible to change the numbers/labels on the yaxis from 0.1 and 0.2 to 100 and 200 without changing the physical data?
Is there some kind of multiply that we can do with the numbers on the yaxis?

Thanks and best regards,
Egbert

  • You must to post comments
0
0

Hi Egbert,

Sure it is, you need to use the LabelProvider feature. Just create a custom label provider, convert datavalues to double, then multiply by your scale factor & format the string. You can do the same for cursor text as well as axis text on a per-axis basis.

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.