javascript - Is it possible to apply css to text in a canvas tag -
has provided me has come within a canvas tag text (by a jqplot chart):
& lt; Canvas id = "myCanvas" width = "578" height = "200" & gt; & Lt; / Canvas & gt;
Is there a way that I can read inside canvas red? I have tried to add CSS like this:
& lt; Canvas id = "myCanvas" width = "578" height = "200" style = "color: red;" & Gt; & Lt; / Canvas & gt;
What I think from the canvas is almost like an image, does it mean that I am not able to select things in that canvas?
Since you Jqplot
you to learn how to change the color of text Looking at the documentation. The following webpage looks like a promise that refers to a textcolor
property.
$ Jqplot.CanvasAxisLabelRenderer
It was well supported
<.
$ Jqplot.AxisTickRenderer
Actually I try to find an event (hook) which is said before every tick is ready. Figure out which tick is to be prepared, then change the text color based on that information. I believe that you can fulfill it which I have provided to you.
Comments
Post a Comment