Background border will not go away

Share RGraph:  

« 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 John C on 26th June 2017
I have turned backgroundGridBorder to false to get rid of the border around the pie. Yet it remains. Why would that be?

- John C


var pie = new RGraph.Pie({
             id: 'Graph(ICP)',
             data: json.data,
             options: {
                 shadow: false,
                 backgroundGridBorder: false,
                 exploded: [7],
                 colors: colors,
                 tooltips: json.labels,
                 tooltipsEvent: 'mousemove',
                 strokestyle: 'transparent',
                 highlightStyle: 'outline'
             }
         }).draw();
Posted by Richard on 26th June 2017
Hi there,

Well its a Pie chart - there is no background grid on a Pie chart. Perhaps it's a border on the canvas tag. Try adding this attribute to your tag:

style="border: none !important"


Richard
Posted by John C on 26th June 2017
Ignore this one. You were right, there was an extraneous border in the canvas tag. Thank you.

- John

Add a reply




« Back to message list