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.SurfacesChart
getDataCountX, getDataCountZ, getXDescription, getZDescription, setXDescription, setZDescription
 
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
 
Methods inherited from interface org.askalon.graph.chart.base.Cleanable
cleanUp
 
Methods inherited from interface org.askalon.graph.chart.DescriptionModeChart
getDescriptionMode, setDescriptionMode
 
Methods inherited from interface org.askalon.graph.chart.UnalignedChart
getXLinesVisible, getZLinesVisible, setXLinesVisible, setZLinesVisible
 

Method Detail

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 datapoint
z - the z-coordinate of the datapoint
value - 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 datapoint
z - the z-coordinate of the datapoint
Returns:
the current value of this datapoint
See Also:
setValue(int, int, double), setValues(List)


Part of:
Askalon_Logo
ASKALON Visualisation Diagrams