nitinhayaran / jRange

jQuery plugin to create range selector

Home Page:http://nitinhayaran.github.io/jRange/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: automatic scale labelling

opatut opened this issue · comments

One could automatically generate the scale array when from, to, step and width are known, based on a few rules, such as:

  • there should be about 1 label per ~50-100 px
  • the difference between 2 labels should be a multiple of the step, preferably in a power of 10 (e.g. step 1, label difference 1, 10 or 100)