Charts appear different in different browsers

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 Kris Knowles on 6th March 2014
Hi,

I have used RGraph to create a graph for a client. It works fine on IE and FireFox, however the axis don't appear in Safari, Chrome or Opera.

I have extracted just the graph to a test HTML file so you can see what I am doing. I have based it on one of your examples.

212.67.215.70/clients/PrettyGraph.html

Any pointers to what I am doing wrong would be greatly appreciated.

Thanks

Kris
Posted by Richard on 6th March 2014
Hi there,

Well these two should be strings:

.Set('axis.color', ['#ffffff'])
.Set('text.color', ['#ffffff'])

So like this instead:

.Set('axis.color', '#ffffff')
.Set('text.color', '#ffffff')







Richard
www.rgraph.net
If RGraph has helped you - please share the website - thanks!
Posted by Kris Knowles on 7th March 2014
Thanks that worked a treat, I missed that.

Add a reply




« Back to message list