Stacked Bar chart redraw smaller not clearing


« 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 Nathan Lipke on 9th October 2013
When redrawing a stacked bar chart, if a column is shorter than the previous column it does not clear out the previous area as expected.

jsfiddle.net/jdjrT/

Click anywhere on the chart to decrement the 1st column to see this.


Thanks,

Nate
Posted by Nathan Lipke on 10th October 2013
I corrected the jsfiddle, the new link is: jsfiddle.net/jdjrT/1/
Posted by RGraph support on 10th October 2013
Hi there,

Instead of calling the .Draw() function, which will just draw the chart on top of what's here, try calling the Redraw function:

RGraph.Redraw();


Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site
Posted by Nathan Lipke on 10th October 2013
That worked thanks.
Posted by Nathan Lipke on 12th October 2013
Can you please update the documentation to use the Redraw method?
www.rgraph.net/docs/api.html#updating
Posted by RGraph support on 14th October 2013
Hi there,

Sure - I'll add that in.


Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site

Add a reply

 




« Back to message list
RGraph on social media