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, zeroBarCompensationFields inherited from class eu.webtoolkit.jwt.chart.WAbstractDataSeries3D
chart_, model_, pointSprite_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbarDataFromModel(List<ByteBuffer> simplePtsArrays) protected voidbarDataFromModel(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) intintdoubleReturns the computed maximum value of this dataseries along the given axis.doubleReturns the computed minimum value of this dataseries along the given axis.voidsetXSeriesColumn(int modelColumn) Set which column in the model is used as x-axis.voidsetYSeriesRow(int modelRow) Set which row in the model is used as y-axis.intReturns which column in the model is used as x-axis.intReturns 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, updateGLMethods 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, setTitleMethods inherited from class eu.webtoolkit.jwt.WObject
getId, getObjectName, remove, resendFormData, setFormData, setObjectName, tr
-
Constructor Details
-
WGridData
Constructor.
-
-
Method Details
-
minimum
Description copied from class:WAbstractDataSeries3DReturns the computed minimum value of this dataseries along the given axis.- Specified by:
minimumin classWAbstractGridData- See Also:
-
maximum
Description copied from class:WAbstractDataSeries3DReturns the computed maximum value of this dataseries along the given axis.- Specified by:
maximumin 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:
getNbXPointsin classWAbstractGridData
-
getNbYPoints
public int getNbYPoints()- Specified by:
getNbYPointsin classWAbstractGridData
-
axisLabel
- Specified by:
axisLabelin classWAbstractGridData
-
barDataFromModel
- Specified by:
barDataFromModelin classWAbstractGridData
-
barDataFromModel
protected void barDataFromModel(List<ByteBuffer> simplePtsArrays, List<ByteBuffer> coloredPtsArrays, List<ByteBuffer> coloredPtsColors) - Specified by:
barDataFromModelin classWAbstractGridData
-