|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujac.chart.BaseChart org.ujac.chart.BasePieChart org.ujac.chart.BasePieChart3D
public abstract class BasePieChart3D
Name: BasePieChart3D
Description: A base class for rendering 3D pie charts.
Field Summary | |
---|---|
static float |
DEFAULT_PIE_HEIGHT
The default pie size. |
Fields inherited from class org.ujac.chart.BaseChart |
---|
attributes, DEFAULT_BORDER_WIDTH, DEFAULT_DESCRIPTION_COLOR, DEFAULT_DESCRIPTION_FONT, DEFAULT_DESCRIPTION_LINE_WIDTH, DEFAULT_PADDING, DEFAULT_SHADOW_COLOR, DEFAULT_SHADOW_OFFSET, DEFAULT_TITLE_FONT, defaultPercentFormat, defaultValueFormat, model |
Constructor Summary | |
---|---|
BasePieChart3D()
|
Method Summary | |
---|---|
protected double |
getDeltaY()
Gets the vertical delta factor for the pie height. |
float |
getPieHeight()
Gets the pie height. |
protected int |
getSliceHeight()
Gets the height of the slices. |
protected void |
init(int numSegments)
Initializes the data structures for the chart metrics. |
Methods inherited from class org.ujac.chart.BasePieChart |
---|
calculateSliceMetrics, draw, drawDescription, drawSlice, drawSliceShadow, getDescriptionDrawingStep, getNumDrawingSteps, getPieCenter, getPieDescriptionAnchorRatio, getPieDescriptionBaselineRatio, getPieDescriptionLayout, getPieSize, supportsNegativeValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final float DEFAULT_PIE_HEIGHT
Constructor Detail |
---|
public BasePieChart3D()
Method Detail |
---|
protected double getDeltaY()
getDeltaY
in class BasePieChart
public float getPieHeight()
protected int getSliceHeight()
getSliceHeight
in class BasePieChart
protected void init(int numSegments)
BasePieChart
init
in class BasePieChart
numSegments
- The number of metrics for which toBasePieChart.init(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |