Opened 13 years ago

Closed 13 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:


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 13 years ago by Adam Peller

Cc: Jared Jurkiewicz added
Resolution: duplicate
Status: newclosed

see #7569

Note: See TracTickets for help on using tickets.