Modify CSS of canvas forLline chart


« 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 Chitrangada on 6th December 2012
Hi

I am drawing line graphs and pie charts using this library. I am displaying these graphs in an accordion like structure so initially these are hidden and when we open its tab then it becomes visible. I am facing some problems with the library, may be due lack of enough knowledge about it.

1. I have n number of line and pie charts on a document. But the first and last line graph does not renders on its position. They are displaying in top and bottom of document respectively.

2. I have used unique object for every graph. Even though when I click on tickmarks of graph then the graphs which rendered above to the clicked graph disappears.

Please help !!

Thanks
Chitrangada
Posted by RGraph support on 6th December 2012
Hi,

I can't really tell from your post what the issue is - try posting a link to an example page that shows the issue. If you're getting old charts reappearing you may want to try using this as well as the Clear so that all previous objects are removed from the ObjectRegistry:

var canvas = document.getElementById('cvs');

RGraph.Clear(canvas);
RGraph.ObjectRegistry.Clear(canvas);

Add a reply

 




« Back to message list
RGraph on social media