Charts appear differently when viewing them in different browsers

« 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

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.

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


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')

Posted by Kris Knowles on 7th March 2014
Thanks that worked a treat, I missed that.

Add a reply

« Back to message list