how do you clear the graph?

3,070 views
Skip to first unread message

bryan costanich

unread,
Jan 4, 2010, 9:45:01 PM1/4/10
to jqplot-users
hi, i have a div holder that i draw the graph in, but then i want to
draw another graph in that div, how do i clear the first? i tried to
set $('#myGraphDiv').innerHtml = ''; but that didn't work.

Nic Pullan

unread,
Jan 5, 2010, 8:20:10 AM1/5/10
to jqplot-users
try:

$('#myGraphDiv').empty();

bryan costanich

unread,
Jan 5, 2010, 11:24:52 AM1/5/10
to jqplot-users
thanks.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages