|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object zk.Object zk.Widget zul.Widget zul.med.Flash zul.fchart.Flashchart
public class Flashchart
The generic flash chart component. Developers set proper chart type, data model, and the src attribute to draw proper chart. The model and type must match to each other; or the result is unpredictable.
type |
---|
pie |
bar |
line |
column |
stackbar |
stackcolumn |
Default Widget.getWidth()
: 400px
Default Widget.getHeight()
: 200px
Field Summary |
---|
Fields inherited from class zk.Widget |
---|
$weave, auDelay, autag, bindLevel, className, desktop, effects_, firstChild, id, insertingBefore_, inServer, lastChild, nChildren, nextSibling, parent, previousSibling, uuid, widgetName |
Fields inherited from class zk.Object |
---|
$class, $oid |
Method Summary | |
---|---|
String |
getChartStyle()
Returns the content style. |
String |
getJsonModel()
Returns a concatenation of a list of the model's attribute of chart, separated by comma. |
String |
getJsonSeries()
Returns a concatenation of a list of the model's series of chart, separated by comma. |
String |
getType()
Returns the type of chart |
void |
setChartStyle(String chartStyle)
Sets the content style of flashchart. |
void |
setJsonModel(String jsonModel)
Sets a concatenation of a list of model of chart, separated by comma. |
void |
setJsonSeries(String jsonModel)
Sets a concatenation of a list of the model's series of chart, separated by comma. |
void |
setType(String type)
Sets the type of chart. |
Methods inherited from class zul.med.Flash |
---|
getBgcolor, getQuality, getSrc, getVersion, getWmode, isAutoplay, isLoop, setAutoplay, setBgcolor, setLoop, setQuality, setSrc, setVersion, setWmode |
Methods inherited from class zul.Widget |
---|
afterKeyDown_, beforeCtrlKeys_, getContext, getCtrlKeys, getOpenTooltip, getPopup, getTooltip, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
Methods inherited from class zk.Object |
---|
$init, $instanceof, $super, $super, $supers, $supers, afterInit, isAssignableFrom, isInstance, proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getChartStyle()
public void setChartStyle(String chartStyle)
Default format: "Category-Attribute=Value", ex."legend-display=right"
chartStyle
- public String getJsonModel()
public void setJsonModel(String jsonModel)
Only implement models which matched the allowed types
jsonModel
- public String getJsonSeries()
public void setJsonSeries(String jsonModel)
Only implement models which matched the allowed types
jsonModel
- public String getType()
public void setType(String type)
Default: "pie"
Allowed Types: pie, line, bar, column, stackbar, stackcolumn
type
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |