jQuery UI Widgets › Forums › Editors › ScrollBar, Slider, BulletChart, RangeSelector › RangeSelector last tick skewed and mislabelled
Tagged: divisible, jqxRangeSelector, majorTickInteval, max, range, range selector, RangeSelector, ticks
This topic contains 4 replies, has 2 voices, and was last updated by Gary 3 years, 7 months ago.
If the range from min to max is not evenly divisible by the majorTicksInterval, the last tick is currently moved to be drawn on the max value and labelled with the last evenly divisible value.
In this example with min:0, max:95, majorTicksInterval:20
The line after 60 is labelled 80, but positioned where 95 would be:
I would expect a tick at 80. I am not sure what I expect at 95, but obviously not “80”.
Thank you for your feedback. We confirm this issue and will try to fix it in a future version of jQWidgets.
I reported this in 2015. However, this appears to still be unchanged as of the November 2016 release.
Unfortunately, this seems to make the RangeSelector ticks relatively unusable unless the min/max/interval is wrapped in logic to keep the proportions such that it does not happen.
Here is another example:
Are there any plans to fix this in the near future?
Unfortunately, this issue is currently not with high priority. However, a workaround is available for it that may be useful to you: http://jsfiddle.net/Dimitar_jQWidgets/eetLa4go/.
Thank you for providing a workaround. I will see if I can incorporate the concept in my code.
You must be logged in to reply to this topic.