org.askalon.graph.chart
Interface SurfaceChart
- All Superinterfaces:
- Chart, Cleanable, DescriptionModeChart, SurfacesChart, UnalignedChart
public interface SurfaceChart
- extends SurfacesChart
The surface chart allows to display data that is distributed
on a grid as a bended surface. The surface is determined
by its datapoints, which are arranged in a 2 dimenstional
grid. The distances of the grid may vary. The colors of
the surface are calculated based on the height of it's
datapoints.
- Author:
- Georg Schild and Franz Endstrasser
Method Summary |
double |
getValue(int x,
int z)
Gets the current value of the datapoint determined
by the indices. |
void |
setValue(int x,
int z,
double value)
Sets the value of a datapoint of the surface. |
void |
setValues(List<GridValueElement> l)
Sets a list of values, what is more efficient than
setting them as single values. |
Methods inherited from interface org.askalon.graph.chart.Chart |
getChartConfiguration, getChartMenu, getChartName, getLegend, getUnit, getXAxisText, getYAxisText, isDisableUpdate, isEdgesVisible, refreshConfiguration, resetConfiguration, setChartConfiguration, setDisableUpdate, setEdgesVisible, setUnit, setXAxisText, setYAxisText |
setValue
void setValue(int x,
int z,
double value)
- Sets the value of a datapoint of the surface.
- Parameters:
x
- the x-coordinate of the datapointz
- the z-coordinate of the datapointvalue
- the new value for this datapoint- See Also:
getValue(int, int)
,
setValues(List)
setValues
void setValues(List<GridValueElement> l)
- Sets a list of values, what is more efficient than
setting them as single values.
- Parameters:
l
- the list of values to update- See Also:
GridValueElement
,
setValue(int, int, double)
,
getValue(int, int)
getValue
double getValue(int x,
int z)
- Gets the current value of the datapoint determined
by the indices.
- Parameters:
x
- the x-coordinate of the datapointz
- the z-coordinate of the datapoint
- Returns:
- the current value of this datapoint
- See Also:
setValue(int, int, double)
,
setValues(List)