Is there a way to got the values outputted by a UISlider in an iPhone app to increase exponentially? For example the first third generate 1 -10, the second third generate 11 to 100, and the final third generate 101 to 1000?
In your XY (scatter) graph, double-click the scale of each axis. In the Format Axis box, select the Scale tab, and then check Logarithmic scale.
The reason to use logarithmic scales is to resolve an issue with visualizations that skew towards large values in a dataset.
You can compute yourself the log/exp value from the slider, and display this value !
But if you want a value between 1 to 1000, you can set min of the slider to 0, max to 3 and make the power of 10:
powf(10.0,mySlider.value)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With