org.zkoss.zul.api
Interface Flashchart

All Superinterfaces:
java.lang.Cloneable, Component, Flash, HtmlBasedComponent, Scope, java.io.Serializable
All Known Implementing Classes:
Flashchart

public interface Flashchart
extends Flash

A generic flashchart component.

Since:
5.0.0
Author:
Joy Lo

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.Component
addEventListener, addForward, addForward, addForward, addForward, appendChild, applyProperties, clone, containsVariable, detach, getAttribute, getAttribute, getAttributeOrFellow, getAttributes, getAttributes, getAuService, getChildren, getDefinition, getDesktop, getFellow, getFellow, getFellowIfAny, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getRoot, getSpaceOwner, getUuid, getVariable, getWidgetClass, getWidgetListener, getWidgetListenerNames, getWidgetOverride, getWidgetOverrideNames, hasAttribute, hasAttribute, hasAttributeOrFellow, hasFellow, hasFellow, insertBefore, invalidate, isInvalidated, isListenerAvailable, isVisible, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, setAttribute, setAttribute, setAuService, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, setWidgetListener, setWidgetOverride, unsetVariable
 
Methods inherited from interface org.zkoss.zk.ui.ext.Scope
addScopeListener, getAttribute, hasAttribute, removeAttribute, removeScopeListener, setAttribute
 

Method Detail

setType

void setType(java.lang.String type)
Sets the type of chart

Default: "pie"

Types: pie, line, bar, column


getType

java.lang.String getType()
Returns the type of chart


setModel

void setModel(ChartModel model)
Sets the model of chart.

Only implement models which matched the allowed types

Parameters:
model -
See Also:
setType(String)

getModel

ChartModel getModel()
Returns the model of chart


setXaxis

void setXaxis(java.lang.String xAxis)
Sets X-Axis name of chart. If doesn't set this attribute, then default will shows Series 2.

Default: Series 2

Only used for StackColumnChart and it only works when the chart initial.


getXaxis

java.lang.String getXaxis()
Returns the name of X-Axis


setYaxis

void setYaxis(java.lang.String yAxis)
Sets Y-Axis name of chart. If doesn't set this attribute, then default will shows Series 1.

Default: Series 1

Only used for StackColumnChart and it only works when the chart initial.


getYaxis

java.lang.String getYaxis()
Returns the name of Y-Axis


setChartStyle

void setChartStyle(java.lang.String chartStyle)
Sets the content style of flashchart.

Default format: "Category-Attribute=Value", ex."legend-display=right"


getChartStyle

java.lang.String getChartStyle()
Returns the content style.



Copyright © 2005-2009 Potix Corporation. All Rights Reserved. SourceForge.net Logo