I have a div tag with the identifier "chart", but how do I get Protovis to display a chart inside this tag?
I tried the canvas method, but it did not work.
var vis = new pv.Panel().canvas("chart").width(width).height(height)
I need my JS code to lubricate the diagram as part of the structure I'm working on, and cannot have scripts inside the HTML body.
source
share