Package org.zkoss.chart.model
Interface XYZModel
-
- All Superinterfaces:
ChartsModel
,XYModel
- All Known Implementing Classes:
DefaultXYZModel
public interface XYZModel extends XYModel
A XYZ chart data model.- Author:
- jumperchen
- See Also:
Charts
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addValue(Comparable<?> series, Number x, Number y, Number z)
Append an (x,y,z) into a series.void
addValue(Comparable<?> series, Number x, Number y, Number z, int index)
Add an (x,y,z) into a series at the specified index.Number
getZ(Comparable<?> series, int index)
Get Z value of a specified series and data index.void
setValue(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.chart.model.ChartsModel
addChartsDataListener, removeChartsDataListener
-
Methods inherited from interface org.zkoss.chart.model.XYModel
addValue, addValue, clear, getDataCount, getSeries, getSeries, getX, getY, isAutoSort, removeSeries, removeValue, setAutoSort, setValue
-
-
-
-
Method Detail
-
getZ
Number getZ(Comparable<?> series, int index)
Get Z value of a specified series and data index.- Parameters:
series
- the series.index
- the data index.
-
addValue
void addValue(Comparable<?> series, Number x, Number y, Number z)
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
void addValue(Comparable<?> series, Number x, Number y, Number z, int index)
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
void setValue(Comparable<?> series, Number x, Number y, Number z, int index)
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
-
-