Flashchart"
From Documentation
m (→Use cases) |
|||
Line 14: | Line 14: | ||
[[Image:ZKComRef_Flashchart_Examples.PNG]] | [[Image:ZKComRef_Flashchart_Examples.PNG]] | ||
− | + | <source lang="xml"> | |
− | <source lang="xml" > | + | <flashchart id="mychart" width="500" height="250" type="pie"> |
− | + | <zscript><![CDATA[ | |
− | + | PieModel model = new SimplePieModel(); | |
− | + | model.setValue("C/C++", new Double(56)); | |
− | + | model.setValue("VB", new Double(51)); | |
− | + | model.setValue("Java", new Double(202)); | |
− | + | model.setValue("PHP", new Double(141)); | |
− | + | mychart.setModel(model); | |
− | + | ]]></zscript> | |
− | + | </flashchart> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</source> | </source> | ||
Revision as of 06:06, 23 November 2010
Flashchart
- Demonstration: link
- Java API: Flashchart
- JavaScript API: Flashchart
Employment/Purpose
The generic flash chart component.
Example
<flashchart id="mychart" width="500" height="250" type="pie">
<zscript><![CDATA[
PieModel model = new SimplePieModel();
model.setValue("C/C++", new Double(56));
model.setValue("VB", new Double(51));
model.setValue("Java", new Double(202));
model.setValue("PHP", new Double(141));
mychart.setModel(model);
]]></zscript>
</flashchart>
Supported Events
None | None |
- Inherited Supported Events: Flash
Supported Children
*ALL
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|