| org.zkoss.zul.XYModel
All known Subclasses: org.zkoss.zul.SimpleXYModel,
addValue | public void addValue(Comparable series, Number x, Number y)(Code) | | Add an (x,y) into a series.
Parameters: series - the series. Parameters: x - the x value. Parameters: y - the y value. |
clear | public void clear()(Code) | | clear this model.
|
getDataCount | public int getDataCount(Comparable series)(Code) | | Get data count of a specified series.
Parameters: series - the specified series. |
getSeries | public Comparable getSeries(int index)(Code) | | Get a series of the specified index;
|
getX | public Number getX(Comparable series, int index)(Code) | | Get X value of a specified series and data index.
Parameters: series - the series. Parameters: index - the data index. |
getY | public Number getY(Comparable series, int index)(Code) | | Get Y value of a specified series and data index.
Parameters: series - the series. Parameters: index - the data index. |
isAutoSort | public boolean isAutoSort()(Code) | | check whether to autosort on x value for each series; default is true.
|
removeSeries | public void removeSeries(Comparable series)(Code) | | /**
Remove data of a specified series.
Parameters: series - the series |
removeValue | public void removeValue(Comparable series, int index)(Code) | | Remove (x,Y) value of a specified series and data index.
Parameters: series - the series. Parameters: index - the data index. |
setAutoSort | public void setAutoSort(boolean auto)(Code) | | Set model to autosort on x value for each series.
|
|
|