-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi everyone,
I'm using juno with zk 6.0.2 & i'm trying to make my first char example, i followed the sample given in the site, but when i run my zul i get the error:
Unknown shape: RECT
Any help will be appreciated, here's my code:
<chart id="mychart" title="Pie Chart Demo" width="550" height="400" type="pie" threeD="false" fgAlpha="128"> <attribute name="onClick"><![CDATA[ Area area = event.getAreaComponent(); if (area != null) alert(""+area.getAttribute("entity")+":"+area.getTooltiptext()); ]]></attribute> <zscript><![CDATA[ PieModel model = new SimplePieModel(); model.setValue("C/C++", new Double(21.2)); model.setValue("VB", new Double(10.2)); model.setValue("Java", new Double(40.4)); model.setValue("PHP", new Double(28.2)); mychart.setModel(model); ]]></zscript> </chart>
Asked: 2012-08-25 15:26:44 +0800
Seen: 76 times
Last updated: Jul 22 '13