org.askalon.graph.chart
Interface SurfacesChart

All Superinterfaces:
Chart, Cleanable, DescriptionModeChart, UnalignedChart
All Known Subinterfaces:
MultipleSurfaceChart, SurfaceChart

public interface SurfacesChart
extends Chart, DescriptionModeChart, UnalignedChart

This is the common super-interface for charts that support one or more surfaces consisting of 2 dimensional datapoints.

Author:
Georg Schild and Franz Endstrasser

Method Summary
 int getDataCountX()
          Gets the number of data elements in x-direction.
 int getDataCountZ()
          Gets the number of data elements in z-direction.
 String getXDescription(int index)
          Gets the x-description for the given index
 String getZDescription(int index)
          Gets the z-description for the given index
 void setXDescription(int index, String desc)
          Sets a description for a x-line of a datapoint.
 void setZDescription(int index, String desc)
          Sets a description for a z-line of a datapoint.
 
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

getDataCountX

int getDataCountX()
Gets the number of data elements in x-direction.

Returns:
the number of datapoints in x-direction
See Also:
getDataCountZ()

getDataCountZ

int getDataCountZ()
Gets the number of data elements in z-direction.

Returns:
the number of datapoints in z-direction
See Also:
getDataCountX()

setXDescription

void setXDescription(int index,
                     String desc)
Sets a description for a x-line of a datapoint.

Parameters:
index - the index of the datapoint line
desc - the new desription text for this datapoint line
See Also:
setZDescription(int, String)

setZDescription

void setZDescription(int index,
                     String desc)
Sets a description for a z-line of a datapoint.

Parameters:
index - the index of the datapoint line
desc - the new desription text for this datapoint line
See Also:
setXDescription(int, String)

getXDescription

String getXDescription(int index)
Gets the x-description for the given index

Parameters:
index -
Returns:
x-description at index or null if there is no description set up yet

getZDescription

String getZDescription(int index)
Gets the z-description for the given index

Parameters:
index -
Returns:
z-description at index or null if there is no description set up yet


Part of:
Askalon_Logo
ASKALON Visualisation Diagrams