Opened 9 years ago

Last modified 9 years ago

#13180 closed enhancement

dojox.charting axis should support a drop label mode — at Version 6

Reported by: cjolif Owned by: cjolif
Priority: high Milestone: 1.8
Component: Charting Version: 1.6.1
Keywords: Cc: [email protected]…, cjolif
Blocked By: Blocking:

Description (last modified by cjolif)

When labels are too wide on a small axis, labels are overlapping. The axis should provide an optional parameter to automatically drop labels when they overlap.

In order to keep the axis understandable by the user the drop should occur consistently across the labels. For example either 1 over 2 labels should be dropped or 1 over 3 etc... but not just a single label dropped.

Change History (6)

comment:1 Changed 9 years ago by Chris Mitchell

Milestone: tbd1.8

comment:2 Changed 9 years ago by cjolif

besides the drop to occur consistently another important point to care about is that when one will scroll the chart he does not want a different set of labels to be dropped. That means the operation must probably pre-computed on the full extend of the scale not just on the visible part.

comment:3 Changed 9 years ago by cjolif

Owner: changed from Eugene Lazutkin to cjolif

comment:4 Changed 9 years ago by cjolif

Description: modified (diff)

comment:5 Changed 9 years ago by cjolif

If it ends up being implemented, this would probably close #11088 as well, as #11088 is just a subset of that one (manual mechanism instead of automatic mechanism).

comment:6 Changed 9 years ago by cjolif

Cc: cjolif added; [email protected] removed
Description: modified (diff)
Note: See TracTickets for help on using tickets.