Flashchart"
From Documentation
m (→Use cases) |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{ZKComponentReferencePageHeader}} | {{ZKComponentReferencePageHeader}} | ||
+ | {{Deprecated Content}} | ||
+ | = Flashchart = | ||
− | = | + | {{notice| text=This component is Deprecated, use [[ZK_Charts_Essentials | ZK Charts]] instead }} |
− | *Demonstration: [http://www.zkoss.org/zkdemo/ | + | *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> | *Java API: <javadoc>org.zkoss.zul.Flashchart</javadoc> | ||
*JavaScript API: <javadoc directory="jsdoc">zul.fchart.Flashchart</javadoc> | *JavaScript API: <javadoc directory="jsdoc">zul.fchart.Flashchart</javadoc> | ||
Line 14: | Line 16: | ||
[[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> | ||
=Supported Events= | =Supported Events= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! <center>Name</center> | ! <center>Name</center> | ||
! <center>Event Type</center> | ! <center>Event Type</center> | ||
Line 82: | Line 46: | ||
=Use Cases= | =Use Cases= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Description !! Example Location | ! Version !! Description !! Example Location | ||
|- | |- | ||
Line 93: | Line 57: | ||
{{LastUpdated}} | {{LastUpdated}} | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Date !! Content | ! 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}} | {{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. |