Closed Knight2601 closed 6 years ago
is it worth me nesting divisions so you can go n deep? e.g.
renderTicks: {
divisions: {
divisionCount: 6,
divLength: .7,
divColor: '#fff',
divWidth: 2,
divisions: {
divisionCount: 4,
divLength: .5,
divColor: '#e8e8e8',
divWidth: 1.2,
divisions: {
divisionCount: 2,
divLength: .3,
divColor: '#ccc',
divWidth: 0.7
}
}
}
}
Hi
Yeah I agree about the coffee issue, I have to deal with polyfills quite often with client systems so wouldn’t want to impose anything like that, but I wouldn’t think that it would be an issue as coffee compiles out to JS anyway, so 90% of the systems that consume this would be using the JSmin version anyhow...
have you pulled and seen this working locally? its a quite nice addition to an awesome gauge library :)
Is there going to be a release that includes this?
added renderTicks
subTicks are optional as are ticks if the renderTicks is not present
see Index.html for example