LabelsAbove labels are not repositioned after updating SVG Bar charts


« 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 GJ on 16th February 2017
When updating a SVG Bar chart, e.g. with ajax, the 'labelsAbove' positions are not updated according to the new data. See here for an example:

jsfiddle.net/xy31gfnj/16/
Posted by Richard on 16th February 2017
Hi there,

Thanks for letting me know. That'll be fixed in the next version. In the meantime you can add this just before you draw the chart again (in the setTimeout function)


bar.coords = [];






Richard

Add a reply

 




« Back to message list
RGraph on social media