public class AbstractChartConfig extends Object implements ChartInfoNotifier, ChartConfig
| Modifier and Type | Field and Description |
|---|---|
protected ChartProperties |
props |
| Constructor and Description |
|---|
AbstractChartConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChartDataListener(org.zkoss.zul.event.ChartDataListener l) |
void |
addPropertyListener(ChartInfoNotifier property) |
int |
getBgAlpha()
Returns the alpha (opacity) for the background.
|
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(org.zkoss.zul.event.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(String bgColor)
Sets the background color for the chart.
|
protected ChartProperties props
protected ChartProperties initChartProperties()
public boolean isAnimation()
public void setAnimation(boolean animation)
public String getBgColor()
public void setBgColor(String bgColor)
public int getBgAlpha()
public void setBgAlpha(int bgAlpha)
public void addChartDataListener(org.zkoss.zul.event.ChartDataListener l)
addChartDataListener in interface ChartInfoNotifierpublic void removeChartDataListener(org.zkoss.zul.event.ChartDataListener l)
removeChartDataListener in interface ChartInfoNotifierpublic void addPropertyListener(ChartInfoNotifier property)
addPropertyListener in interface ChartInfoNotifierpublic void removePropertyListener(ChartInfoNotifier property)
removePropertyListener in interface ChartInfoNotifierpublic ChartProperties getChartProperties()
getChartProperties in interface ChartConfigCopyright © 2026. All rights reserved.