Weird behaviour in Line chart


« 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 Marcos Placona on 28th May 2013
Hi, I'm trying to create line graphs where the Y axis goes above 1000. Whenever I do that, it always seems to turn any number above 1000 into 000. Almost like there's an overflow there.

I'm sure there's something silly I'm missing there, but I can't quite work out what it is.

Here's my code:

jsfiddle.net/JVgyn/

Thanks in advance,

Marcos
Posted by RGraph support on 28th May 2013
Hi there,

Sounds like you need to increase your left gutter. By default it's 25px:

obj.Set('chart.gutter.left', 35);


Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer
Posted by Marcos Placona on 28th May 2013
Excellent! That did it.

I've updated the fiddle as well for future refference.

jsfiddle.net/JVgyn/1/

Thanks again!
Posted by RGraph support on 28th May 2013
Hi there,

Great. And if you could link to the RGraph website I'd appreciate it.

Cheers.


Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer

Add a reply

 




« Back to message list
RGraph on social media