I have an issue with the colorRanges option in the Edge browser

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 Othmar on 9th March 2017
Hi Richard.

I have found a little problem for Edge browser.
If i define the color of ranges the Edge browser is only showing the fist color.
Look here: jsfiddle.net/pph0o740/
If i test this with Chrome or Firefox the first color range is green and the second red.
If i request this in Edge both are green.

Screenshot Edge: pasteboard.co/HmAfICz7y.png
Screenshot Firefox: pasteboard.co/HmBeOClO0.png

What is wrong there?
Posted by Richard on 9th March 2017
Hi there,

Interesting. You are missing a closing parenthesis on the red color. Try changing the line to this:

var colorRanges = [[55,60,'rgba(18,251,0,0.6)'],[70,75,'rgba(255,0,0,0.5)']];

Try that.




Richard
Posted by Othmar on 9th March 2017
Hi Richard

You are right! Sometimes i see the trees not in the forest....
Sorry for that.

Best regards Othmar

PS: can you send me a mail - i want to show you a not public Rgraph project. I will provide it in near future.
Posted by Richard on 9th March 2017
Hi there,

Send it to richardheyes@gmail.com






Richard

Add a reply




« Back to message list