Flashchart"
From Documentation
Tmillsclare (talk | contribs) m (Created page with 'init') |
|||
(15 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{ZKComponentReferencePageHeader}} | |
+ | {{Deprecated Content}} | ||
+ | = Flashchart = | ||
+ | |||
+ | {{notice| text=This component is Deprecated, use [[ZK_Charts_Essentials | ZK Charts]] instead }} | ||
+ | |||
+ | *Demonstration: [http://www.zkoss.org/zkdemo/chart/flash_pie_chart Flash Pie Chart], [http://www.zkoss.org/zkdemo/chart/other_flash_charts Other Flash Charts] | ||
+ | *Java API: <javadoc>org.zkoss.zul.Flashchart</javadoc> | ||
+ | *JavaScript API: <javadoc directory="jsdoc">zul.fchart.Flashchart</javadoc> | ||
+ | |||
+ | = Employment/Purpose = | ||
+ | The generic flash chart component. | ||
+ | |||
+ | = Example = | ||
+ | |||
+ | [[Image:ZKComRef_Flashchart_Examples.PNG]] | ||
+ | |||
+ | <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> | ||
+ | |||
+ | =Supported Events= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! <center>Name</center> | ||
+ | ! <center>Event Type</center> | ||
+ | |- | ||
+ | | None | ||
+ | | None | ||
+ | |} | ||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Multimedia_and_Miscellaneous/Flash#Supported_Events | Flash]] | ||
+ | |||
+ | =Supported Children= | ||
+ | |||
+ | *ALL | ||
+ | |||
+ | =Use Cases= | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Description !! Example Location | ||
+ | |- | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | =Version History= | ||
+ | {{LastUpdated}} | ||
+ | |||
+ | {| class='wikitable' | width="100%" | ||
+ | ! Version !! Date !! Content | ||
+ | |- | ||
+ | | '''5.0.12''', '''6.0.3.1''', and '''6.5.1''' | ||
+ | | | ||
+ | | Decouple Flashchart component from the zul to the addon package. Please download it from the [https://github.com/zkoss/flashchart Github]. | ||
+ | |} | ||
+ | |||
+ | {{ZKComponentReferencePageFooter}} |
Latest revision as of 08:55, 21 March 2022
Flashchart
Notice: This component is Deprecated, use ZK Charts instead
- Demonstration: Flash Pie Chart, Other Flash Charts
- 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 |
---|---|---|
5.0.12, 6.0.3.1, and 6.5.1 | Decouple Flashchart component from the zul to the addon package. Please download it from the Github. |