Opened 8 years ago
Closed 5 years ago
#16068 closed defect (patchwelcome)
dojox.charting: chart hides borders of parent div container/ charting area
Reported by: | Paul Christopher | Owned by: | cjolif |
---|---|---|---|
Priority: | low | Milestone: | 1.13 |
Component: | Charting | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Description
Parts of the charting area's border are hidden by the chart:
Steps to reproduce the issue
Change dojox/charting/tests/test_rotatedLabels.html and simply add a border to <div id="test1"> like so:
<div id="test1" style="width: 600px; height: 400px; border: 5px solid #000;"></div>
Run the test case. This gives the results shown in the above screenshot (tested IE9, FF15).
Workaround
You need to wrap the charting area in another div and give that div a border.
Attachments (2)
Change History (6)
Changed 8 years ago by
Changed 8 years ago by
Attachment: | test_rotatedLabels.html added |
---|
comment:1 Changed 8 years ago by
Owner: | changed from Eugene Lazutkin to cjolif |
---|---|
Priority: | undecided → low |
Status: | new → assigned |
comment:2 Changed 8 years ago by
Milestone: | tbd → 2.0 |
---|
comment:4 Changed 5 years ago by
Milestone: | 2.0 → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | assigned → closed |
Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.
Note: See
TracTickets for help on using
tickets.
Yes I think Charting should use contentBox instead of marginBox as it does now to size itself. This would avoid this issue. As this would be slightly incompatible I would however think about waiting for 2.0 to do that. In particular as the workaround is an easy one.