com.odesys.chart.piechart
Interface SliceData

All Superinterfaces:
ChartElement
All Known Implementing Classes:
DefaultSliceData

public interface SliceData
extends ChartElement

SliceData provides access to the data of a single slice of the Pie chart.


Method Summary
 float getValue()
          Gets the value of this SliceData.
 boolean isExploded()
          Checks if this SliceData is exploded.
 void setExploded(boolean exploded)
          Determines whether this SliceData should be exploded.
 void setValue(float value)
          Sets the value of this SliceData.
 
Methods inherited from interface com.odesys.chart.ChartElement
getColor, getLabel, getModel, getSeries, setColor, setLabel
 

Method Detail

setValue

public void setValue(float value)
Sets the value of this SliceData.
Parameters:
value - The value of this SliceData.

getValue

public float getValue()
Gets the value of this SliceData.
Returns:
The value of this SliceData.

setExploded

public void setExploded(boolean exploded)
Determines whether this SliceData should be exploded.

isExploded

public boolean isExploded()
Checks if this SliceData is exploded.