Package eu.webtoolkit.jwt.chart
Class WGridData
java.lang.Object
eu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
eu.webtoolkit.jwt.chart.WAbstractGridData
eu.webtoolkit.jwt.chart.WGridData
Class representing grid-based data for a 3D chart.
General information can be found at WAbstractDataSeries3D
. The model for this
dataseries is structured as a table. One of the columns (by default index 0) contains the x-axis
values, one of the rows (by default index 0) contains the y-axis values. All other values in the
table contain the z-value corresponding to the x- and y-values with the same column- and
row-index.
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WObject
WObject.FormData
-
Field Summary
Fields inherited from class eu.webtoolkit.jwt.chart.WAbstractGridData
BAR_BUFFER_LIMIT, SURFACE_SIDE_LIMIT, zeroBarCompensation
Fields inherited from class eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
chart_, model_, pointSprite_
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
barDataFromModel
(List<ByteBuffer> simplePtsArrays) protected void
barDataFromModel
(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) int
int
double
Returns the computed maximum value of this dataseries along the given axis.double
Returns the computed minimum value of this dataseries along the given axis.void
setXSeriesColumn
(int modelColumn) Set which column in the model is used as x-axis.void
setYSeriesRow
(int modelRow) Set which row in the model is used as y-axis.int
Returns which column in the model is used as x-axis.int
Returns which row in the model is used as y-axis.Methods inherited from class eu.webtoolkit.jwt.chart.WAbstractGridData
changeClippingMax, changeClippingMin, deleteAllGLResources, getBarWidthX, getBarWidthY, getClippingLinesColor, getClippingMax, getClippingMin, getGlObjects, getIsoColorMap, getIsoLevels, getPen, getType, initializeGL, isClippingLinesEnabled, isSurfaceMeshEnabled, paintGL, pickBar, pickSurface, resizeGL, setBarWidth, setChart, setClippingLinesColor, setClippingLinesEnabled, setClippingMax, setClippingMin, setIsoColorMap, setIsoLevels, setPen, setSurfaceMeshEnabled, setSurfaceMeshEnabled, setType, updateGL
Methods inherited from class eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
getChart, getChartpaletteColor, getColorMap, getColorMapSide, getModel, getPointSize, getPointSprite, getPointSpriteTexture, getTitle, isColorMapVisible, isHidden, isLegendEnabled, loadPointSpriteTexture, setColorMap, setColorMapSide, setColorMapVisible, setColorMapVisible, setDefaultTitle, setHidden, setHidden, setLegendEnabled, setLegendEnabled, setModel, setPointSize, setPointSprite, setTitle
Methods inherited from class eu.webtoolkit.jwt.WObject
getId, getObjectName, remove, setFormData, setObjectName, tr
-
Constructor Details
-
WGridData
Constructor.
-
-
Method Details
-
minimum
Description copied from class:WAbstractDataSeries3D
Returns the computed minimum value of this dataseries along the given axis.- Specified by:
minimum
in classWAbstractGridData
- See Also:
-
maximum
Description copied from class:WAbstractDataSeries3D
Returns the computed maximum value of this dataseries along the given axis.- Specified by:
maximum
in classWAbstractGridData
- See Also:
-
setXSeriesColumn
public void setXSeriesColumn(int modelColumn) Set which column in the model is used as x-axis.The default column that is used has index 0.
-
XSeriesColumn
public int XSeriesColumn()Returns which column in the model is used as x-axis.- See Also:
-
setYSeriesRow
public void setYSeriesRow(int modelRow) Set which row in the model is used as y-axis.The default row that is used has index 0.
-
YSeriesRow
public int YSeriesRow()Returns which row in the model is used as y-axis.- See Also:
-
getNbXPoints
public int getNbXPoints()- Specified by:
getNbXPoints
in classWAbstractGridData
-
getNbYPoints
public int getNbYPoints()- Specified by:
getNbYPoints
in classWAbstractGridData
-
axisLabel
- Specified by:
axisLabel
in classWAbstractGridData
-
barDataFromModel
- Specified by:
barDataFromModel
in classWAbstractGridData
-
barDataFromModel
protected void barDataFromModel(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) - Specified by:
barDataFromModel
in classWAbstractGridData
-