#13666 closed defect (fixed)
Axis label disappearing when using a theme and setting titleOrientation: 'away'
Reported by: | dbellettini | Owned by: | cjolif |
---|---|---|---|
Priority: | high | Milestone: | 1.8 |
Component: | Charting | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
See the attachment
Attachments (1)
Change History (8)
Changed 9 years ago by
Attachment: | dojotest.html added |
---|
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Component: | General → Charting |
---|---|
Owner: | set to Eugene Lazutkin |
comment:3 Changed 9 years ago by
Affects Firefox 5.0.1
Affects Chromium 12.0.742.112
Does not affect Internet Explorer 9
comment:4 Changed 9 years ago by
Milestone: | tbd → 1.8 |
---|---|
Owner: | changed from Eugene Lazutkin to cjolif |
Status: | new → assigned |
A workaround is to set htmlLabels: false on your axis. Another workaround is probably to set a titleFont on the axis.
comment:5 Changed 9 years ago by
The origin of the problem is that the font for the title is not found on the Claro theme and that an exception occurs. The way title font is defined in themes is not documented. They are strangely not defined in theme.axis.titleFont or theme.axis.title.font but theme.axis.tick.titleFont and thus not inherited from default theme to Claro. Part of the fix will consist in documenting and correctly locating title font in axis.title.font.
I made a mistake, the component is Charting