Opened 12 years ago
Closed 12 years ago
#7570 closed defect (duplicate)
PATCH under CLA: dojox.charting: wrong offset of labels on axis when rtl
Reported by: | Chris Mitchell | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Charting | Version: | 1.1.1 |
Keywords: | Cc: | Jared Jurkiewicz | |
Blocked By: | Blocking: |
Description
When opening a dojox.charting Chart2D in a right to left language (like Hebrew) the labels of the axes are drawn on the right hand side of the div holding the chart.
This can be fixed by adding the following lines to dojox.charting.axis2d.Default.js function render (after calculating the label offsets and before rendering the shapes):
if (!dojo._isBodyLtr()){
labelOffset.x = labelOffset.x - dim.width;
}
Change History (1)
comment:1 Changed 12 years ago by
Cc: | Jared Jurkiewicz added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
see #7569