Kemallyson / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

graph mess-up when document has dir="rtl" and in IE #637

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

My whole document is with dir="rtl".
In Firefox everything's fine, but in IE (and I think also chrome, but not 
sure), the graph mess up - axis not aligned to graph, points are thrown to the 
right of the graph.

After isolating the cause I just added in the graph div dir="ltr" and it fixed 
everything.

<html dir="rtl">
<div id="Graph" style="height: 300px; width: 95%; margin-right: 3%" 
dir="ltr"></div>

Original issue reported on code.google.com by yanai.an...@gmail.com on 21 Nov 2011 at 11:43

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 1 May 2012 at 11:28