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