|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zkmax.zul.fusionchart.config.AbstractChartConfig
public class AbstractChartConfig
The Fusionchart config lets you control a variety of functional elements on the chart. For example, you can opt to show/hide data labels, data values, y-axis values. You can also set chart limits and extended properties.
All property of chart, please refer to the following reference document.
Field Summary | |
---|---|
protected ChartProperties |
props
|
Constructor Summary | |
---|---|
AbstractChartConfig()
|
Method Summary | |
---|---|
void |
addChartDataListener(ChartDataListener l)
|
void |
addPropertyListener(ChartInfoNotifier property)
|
int |
getBgAlpha()
Returns the alpha (opacity) for the background. |
java.lang.String |
getBgColor()
Returns the background color for the chart. |
ChartProperties |
getChartProperties()
|
protected ChartProperties |
initChartProperties()
Might be overwritten in other constructor |
boolean |
isAnimation()
Returns whether to perform animation. |
void |
removeChartDataListener(ChartDataListener l)
|
void |
removePropertyListener(ChartInfoNotifier property)
|
void |
setAnimation(boolean animation)
Sets whether to perform animation. |
void |
setBgAlpha(int bgAlpha)
Sets the alpha (opacity) for the background. |
void |
setBgColor(java.lang.String bgColor)
Sets the background color for the chart. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ChartProperties props
Constructor Detail |
---|
public AbstractChartConfig()
Method Detail |
---|
protected ChartProperties initChartProperties()
public boolean isAnimation()
public void setAnimation(boolean animation)
public java.lang.String getBgColor()
public void setBgColor(java.lang.String bgColor)
public int getBgAlpha()
public void setBgAlpha(int bgAlpha)
public void addChartDataListener(ChartDataListener l)
addChartDataListener
in interface ChartInfoNotifier
public void removeChartDataListener(ChartDataListener l)
removeChartDataListener
in interface ChartInfoNotifier
public void addPropertyListener(ChartInfoNotifier property)
addPropertyListener
in interface ChartInfoNotifier
public void removePropertyListener(ChartInfoNotifier property)
removePropertyListener
in interface ChartInfoNotifier
public ChartProperties getChartProperties()
getChartProperties
in interface ChartConfig
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |