Open GoogleCodeExporter opened 8 years ago
Did you remember to set the HtmlText option to false? HTML text cannot be
rotated
Original comment by spoon.re...@gmail.com
on 3 Sep 2010 at 11:35
I have the same problem in the latest version from the trunk. I'm making a bar
graph.
Line 672: this.textEnabled = !!this.ctx.drawText;
Evaluates to false, therefore canvas text is not enabled.
Original comment by nicholas...@gmail.com
on 8 Sep 2010 at 5:44
Hmm... it appears that Flotr only enables canvas text if the canvastext library
is included.
I think this is a bug. Flotr should also enable canvas text if the browser
supports native canvas text (fillText, etc.), even if the canvastext library is
not included. Flotr already includes code to use the browser native canvas text
functionality (see Flotr.drawText function), so it seems that it was intended
to support the browser's native canvas text independently.
Original comment by spoon.re...@gmail.com
on 8 Sep 2010 at 9:27
Also, HTML can be rotated these days by using CSS translations. Though, most if
not all browsers that don't support canvas, don't support css translations.
Still, if the user has specifically chosen HTML labels, perhaps this would be
one way to keep the look the same without using canvas.
Original comment by nicholas...@gmail.com
on 8 Sep 2010 at 10:33
Original issue reported on code.google.com by
blackou...@gmail.com
on 25 Aug 2010 at 6:40