|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PieChart
Interface for the pie chart, which is a is a circular chart divided into sections that display relative magnitudes or percents.
Method Summary | |
---|---|
boolean |
getShowPercentInLegend()
|
float |
getTransparency()
|
double |
getValue(int section)
Gets the value for the given section |
void |
removeEntity(int idx)
Removes the section specified by the index. |
void |
setShowPercentInLegend(boolean b)
Shows or hides percentage values in the legend |
void |
setTransparency(float f)
Sets transparency for all pie pieces |
void |
setValue(int idx,
double value)
Sets the value of the section with the id idx to the specified value. |
Methods inherited from interface org.askalon.graph.chart.OrderedChart |
---|
decrementOrder, getOrder, incrementOrder, setOrder |
Methods inherited from interface org.askalon.graph.chart.SectionChart |
---|
getSectionColor, getSectionCount, getSectionName, isVisible, setSectionColor, setSectionName, setVisible |
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 |
Method Detail |
---|
void setValue(int idx, double value)
idx
to the specified value. Values are
normalized automatically.
idx
- the index of the sectionvalue
- the new value for this sectiondouble getValue(int section)
section
-
void removeEntity(int idx)
idx
- the index of the section to removevoid setShowPercentInLegend(boolean b)
b
- boolean getShowPercentInLegend()
void setTransparency(float f)
f
- in the range 0.0f-1.0ffloat getTransparency()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Part of: |
ASKALON Visualisation Diagrams |