Charts appear differently when viewing them in different browsers
« Back to message list
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 2014I 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
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
Posted by Kris Knowles on 7th March 2014Well 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
Thanks that worked a treat, I missed that.
Add a reply
« Back to message list