Opened 13 years ago
Closed 13 years ago
#5449 closed defect (duplicate)
Dojo Chart not rendering Axis legend in the right position
Reported by: | guest | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.1 |
Component: | Charting | Version: | 1.0 |
Keywords: | Cc: | [email protected]… | |
Blocked By: | Blocking: |
Description
I am trying to render a chart within one of our pages but the x axis legend is being rendered way down-right.
After some debugging it seems that the legend divs which are absolute positioned dont play well if nested within a relative positioned container (defines a new position context). The top and left positions for the legend divs are calculated using dojo._abs() that afaik calculates based on the document body irrespective of whether there is a relative positioned container element in between.
it seems that instead of calculating the absolute position always to the document body it should be calculated based on the closest relative positioned container or maybe always define the chart element as relative positioned (not sure if this would work).
Change History (3)
comment:1 Changed 13 years ago by
Milestone: | → 1.1 |
---|---|
Status: | new → assigned |
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
This is a duplicate of #5168