Default Y value Bar chart

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Benoit on 17th May 2013
hello,

I'm trying to find in the documentation the way to set the default value for the Y axis in the bar graph and i can't find it. can you help me?

i have a graph like that :

1------| |---
1------| |---
1------| |---
0------| |---
0------| |---
------------------

and i want to set the default value to 5 and draw this :

5--------------
4--------------
3--------------
2--------------
1------| |---
-------------------

is-it possible?

Benoit
Posted by RGraph support on 17th May 2013
Hi there,

In your first diagram it looks like you may need to set chart.scale.decimals to 1 (or more). To achieve a scale of 0,1,2,3,4,5 then you can set the chart.ymax property to 5.

PS Please remember to link to the RGraph website - cheers!

Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer
Posted by Benoit on 17th May 2013
thanks you for your fast answer.

i have another question :

is it possible in the radar graph to define the number of rows ?

i mean the lines draw in the background ? in default it draw 5 lines.

Benoit

ps: sorry for my poor english
Posted by RGraph support on 17th May 2013
Hi there,

Yes you can have multiple datasets and datasets can have 3 or more points in them - like in this demo:

dev.rgraph.net/demos/radar-multiple-datasets-seperate-arguments.html



Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer
Posted by Benoit on 17th May 2013
thanks you for your help !

Benoit

Add a reply




« Back to message list