Reputation: 973
I was wondering if there is a way to make a JavaFX Slider to show logaritmically spaced tick marks. I suspect there is none. If this is the case what would be the best way to go about implementing this do you think? I should mention that I have seen this but the accepted answer is not what I want.
So what I know is possible is this:
But I want are tick marks spaced like this: http://www.dplot.com/logarithmic/loglin_h600.png
That the tick marks show their respective values is not important.
Thanks for your time.
Upvotes: 0
Views: 547
Reputation: 16348
You can use a linear Slider with linear tick marks and every time you get a result you calculate the logarithmus of it and work with that.
Upvotes: 1