CategoryScale labels are incorrectly drawn for more than 6 categories in 3.3.0-rc2
When testing the Wt:Cart:Category chart in Wt 3.3.0 rc2 the category axis doesn't draw the labels correctly when there are more than 6 categories. This works correctly in 3.2.3 and is broken in 3.3.0 rc2
Updated by Koen Deforche over 7 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
I did change an internal parameter for deciding how many labels should be drawn, and I guess that's why 3.3.0 and 3.2.3 behave differently.
While there is an alignment glitch which I've fixed now (the label is not centered under the tick line), the behavior is quite close to what I intend (and so we could discuss what you prefer to see instead in case the effective 'label interval' does not equal 1 ?
You can fix the behavior to the 3.2.3 behavior by forcing the label interval to be 1 using setLabelInterval(1) for the X axis.