Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


How do you delete a graph? #125

btipling opened this Issue · 2 comments

2 participants


I don't see anyway to use JavaScript to remove a graph and all the axis and what not. I just see ways to create graphs.


I created a clearGraph function that's laid out as follows:

function clearGraph() {
    '<div id="chart"></div><div id="timeline"></div><div id="slider"></div>'

That is, of course, if your legend is in a div with an id of 'legend' and your chart stuff is in a div with an id of 'chart_container' (like in the live data timeseries example on their site).

Hope that helped.


Also remember that this will clear the ENTIRE graph (including its template), not just the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.