We go to the effort of making the canvas graphics context a parameter to the
Graph initialize()
method, but then the Graph draw() method references divs named "graph_texts"
and
"graph_container". That's not good. It certainly prevents having multiple
graphs on one page, and
there's no reason we should prevent that.
Perhaps it would be best to make the caller supply just the name of an empty
div when making a
new Graph. Then Canviz would take care of creating the canvas and the text divs
inside it.
Original issue reported on code.google.com by ryandesi...@gmail.com on 22 Oct 2008 at 9:36
Original issue reported on code.google.com by
ryandesi...@gmail.com
on 22 Oct 2008 at 9:36