Hi!
The recommended way to set the dom element where protovis' will svg
appear is to set the canvas property of the root panel, ie. do
var vis = new pv.Panel().canvas('id-of-element')
However, it appears that this won't work for bullet charts
(pv.Layout.Bullet): when I set the canvas element using the above, the
individual bullet charts get drawn on top of each other. As a
testcase, inserting the ".canvas('fig')" into the code at
http://vis.stanford.edu/protovis/ex/bullet-full.html triggers this
bug.
Is this a known bug? Is there some way to avoid / workaround it? I
need to set the canvas property because I want to load protovis'
javascript via ajax, after the page is loaded (I want to be able to
dynamically switch / update the visualization).
Thanks in advance,
Daniel Abel