Package org.zkoss.zul
Interface XYZModel
- All Superinterfaces:
ChartModel,XYModel
- All Known Implementing Classes:
SimpleXYZModel
A XYZ chart data model.
- Since:
- 3.5.0
- Author:
- henrichen
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(Comparable<?> series, Number x, Number y, Number z) Append an (x,y,z) into a series.voidaddValue(Comparable<?> series, Number x, Number y, Number z, int index) Add an (x,y,z) into a series at the specified index.getZ(Comparable<?> series, int index) Get Z value of a specified series and data index.voidsetValue(Comparable<?> series, Number x, Number y, Number z, int index) Replace an (x,y,z) into a series at the specified index.Methods inherited from interface org.zkoss.zul.ChartModel
addChartDataListener, removeChartDataListenerMethods inherited from interface org.zkoss.zul.XYModel
addValue, addValue, clear, getDataCount, getSeries, getSeries, getX, getY, isAutoSort, removeSeries, removeValue, setAutoSort, setValue
-
Method Details
-
getZ
Get Z value of a specified series and data index.- Parameters:
series- the series.index- the data index.
-
addValue
Append an (x,y,z) into a series.- Parameters:
series- the series.x- the x value.y- the y value.z- the z value.
-
addValue
Add an (x,y,z) into a series at the specified index.- Parameters:
series- the series.x- the x value.y- the y value.z- the z value.index- the data index.- Since:
- 5.0.0
-
setValue
Replace an (x,y,z) into a series at the specified index.- Parameters:
series- the series.x- the x value.y- the y value.z- the z value.index- the data index.- Since:
- 5.0.0
-