php - PChart Right axis to show labels for specific values -


I have an air chart shown below with working with current, lower and higher values.

Enter image details here

What would I like to add but I can know this:

I need the right hand scale of the plot which will show the air force. I think this will be set as a label for a specific value.

In this case <1 p>

the label for force 1 should be consistent with wind speed 1

In line with the wind speed 4

Labels for force 3 should be consistent with wind speed 7

Labels for force should be consistent with wind speed 11

force 5 Should the label be consistent with wind speed 17

Can I create AI axis anyway, which shows a specific label on a specific value?

Something like this is done: but where numbers reach the right values ​​

 image description here

Here my work has been worked. I was making a particle calculation graph:

  $ MyData-> Joint Points (array (7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24), "ISO"); $ MyData- & gt; SetSerieOnAxis ("ISO", 1); $ MyData- & gt; Setexisname (1, "ISO code"); $ MyData- & gt; SetAxisPosition (1, AXIS_POSITION_RIGHT); $ MyData- & gt; Setiery Drable ("ISO", FALSE); // No plot results show not only the axis   

then down to where you scale your:

  $ AxisBoundaries = array (0 = & gt; ; Array ("min" => gt; "max" => 5), 1 = & gt; array ("min" = 7, "max" => 24)); $ ScaleSettings = Array ("mode" => SCALE_MODE_MANUAL, "manual skeletal" = & gt; $ Axisboundary); $ MyPicture- & gt; DrawScale ($ ScaleSettings);   

So you set the scale for the left and right axis in my application, I need to go from 7 to 24 on my right side and from 0 to 5 on my left side. I did not forget the graph on my right, because I just wanted to show the scale.

You should be fond of your minimum and maximum so that you can bring them as far as you like and you need to ensure that the left axis is fixed. If it is dynamic then it will be different each time depending on your data.

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 -