|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Flashchart
A generic flashchart component.
Field Summary |
---|
Fields inherited from interface org.zkoss.zk.ui.Component |
---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
Method Summary | |
---|---|
java.lang.String |
getChartStyle()
Returns the content style. |
ChartModel |
getModel()
Returns the model of chart |
java.lang.String |
getType()
Returns the type of chart |
java.lang.String |
getXaxis()
Returns the name of X-Axis |
java.lang.String |
getYaxis()
Returns the name of Y-Axis |
void |
setChartStyle(java.lang.String chartStyle)
Sets the content style of flashchart. |
void |
setModel(ChartModel model)
Sets the model of chart. |
void |
setType(java.lang.String type)
Sets the type of chart Default: "pie" Types: pie, line, bar, column |
void |
setXaxis(java.lang.String xAxis)
Sets X-Axis name of chart. |
void |
setYaxis(java.lang.String yAxis)
Sets Y-Axis name of chart. |
Methods inherited from interface org.zkoss.zul.api.Flash |
---|
getBgcolor, getContent, getQuality, getSrc, getVersion, getWmode, isAutoplay, isLoop, setAutoplay, setBgcolor, setContent, setLoop, setQuality, setSrc, setVersion, setWmode |
Methods inherited from interface org.zkoss.zk.ui.api.HtmlBasedComponent |
---|
focus, getHeight, getLeft, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZclass, getZindex, getZIndex, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZclass, setZindex, setZIndex |
Methods inherited from interface org.zkoss.zk.ui.ext.Scope |
---|
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute |
Method Detail |
---|
void setType(java.lang.String type)
Default: "pie"
Types: pie, line, bar, column
java.lang.String getType()
void setModel(ChartModel model)
Only implement models which matched the allowed types
model
- setType(String)
ChartModel getModel()
void setXaxis(java.lang.String xAxis)
Default: Series 2
Only used for StackColumnChart and it only works when the chart initial.
java.lang.String getXaxis()
void setYaxis(java.lang.String yAxis)
Default: Series 1
Only used for StackColumnChart and it only works when the chart initial.
java.lang.String getYaxis()
void setChartStyle(java.lang.String chartStyle)
Default format: "Category-Attribute=Value", ex."legend-display=right"
java.lang.String getChartStyle()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |