javascript - Is there a way I can color my ticks in my jqplot graph -


I have a stacked bar graph and I want my skin color on my graph.

In the graph below I want to paint customers in red or green based on their position:

 bar graph

So I can be green and have acer red color. Is there any way to color each label? I know that I am able to paint them all in one color, but can I choose a specific one?

My first try is to select the label using jquery and apply this kind of CSS to me:

  $ ("div: in" (Awo ') "). Css ("color", "red");   

However, it does not select anything

try some Such as:

  $ ("div.jqplot-xaxis-tick: in ('AWWA')"). CSS ("color", "red");   

I'm not sure this will work, but it seems that the color of the font of the x label is here:

when I ran:

  $ ("div.jqplot-xaxis-tick:" ('2') "in it). CSS ("color", "red");   

You will need to make sure that the Dome is ready after it is ready and the article has been created.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -