#10512 closed defect (invalid)
dojox.charting.Chart2D does not render properly when node is hidden using display: none
Reported by: | timdp | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Charting | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojox.charting.Chart2D does not render properly when the target node for the chart is hidden using CSS such as display: none.
This is limiting as when drawing charts data may be pulled from a number of sources with different response times using AJAX - ideally you should be able to hide a chart until the whole page is ready to display.
Attachments (1)
Change History (3)
Changed 11 years ago by
Attachment: | chartingDisplayNoneTest.html added |
---|
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
display: none
prevents browser from assigning a geometry, so it is impossible to render charts. Either render the chart when you are ready to show it up (e.g., you got all your data for it), or use other means to hide it, e.g., position absolutely with negative offsets, or usevisibility: hidden
.