faheem801 / flot

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

[Enhancement] Vertical tick text #397

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is it possible to add a feature to support vertical (or diagonal) tick text? 
This is for when the text of the ticks are really long, and the ticks are 
spaced really close together, and they overlap.

Original issue reported on code.google.com by spoon.re...@gmail.com on 18 Aug 2010 at 8:37

GoogleCodeExporter commented 9 years ago
This is a duplicate of Issue #85

Original comment by ryl...@gmail.com on 21 Dec 2010 at 12:08

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 7 May 2012 at 8:36

GoogleCodeExporter commented 9 years ago
I added following line (marked in //--) in insertAxisLabels() method, available 
in jquery.flot.js. And able to get vertical text at x axis.

var style = ["position:absolute", "text-align:" + align ];
for (var a in pos)
 {
    style.push(a + ":" + pos[a] + "px")
    //--style.push(" writing-mode:bt-rl; filter:flipV flipH;")
}

And able to get vertical text. But these vertical text are not positioned 
properly. So currently working on it. If anyone got the solution

Original comment by marathe....@gmail.com on 25 Sep 2012 at 7:49

GoogleCodeExporter commented 9 years ago
Hi Any updates on it?

Original comment by woodzu123 on 12 Oct 2012 at 11:03