|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.engine.AbstractChartObject<Tags>
lt.monarch.chart.AbstractChartSeries<SeriesPaintTags,Projector>
lt.monarch.chart.chart3D.series.Pie3DSeries
public class Pie3DSeries extends AbstractChartSeries<SeriesPaintTags,Projector>
Pie series 3D. This series renders pie in 3D space.
| Modifier and Type | Field and Description |
|---|---|
protected TextStyle<AbstractPaintTags> |
textStyle
|
| Fields inherited from class lt.monarch.chart.AbstractChartSeries |
|---|
metaModel, model, modelValidator, seriesName, seriesTransform, showLegend, showNullValues, symbol, xMapper, yMapper, zMapper |
| Fields inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
AXIS_SORT_POSITION, BREAK_LINE_POSITION, DEFAULT_SORT_POSITION, GRID_SORT_POSITION, MARKER_SERIES_SORT_POSITION, MARKERS_SORT_POSITION, paintStyle, SERIES_SORT_POSITION, sortPosition, style |
| Constructor and Description |
|---|
Pie3DSeries(ArrayDataModel model)
Line series constructor without a meta data model and default plane mapper is for Cartesian coordinates. |
Pie3DSeries(ArrayDataModel model,
MetaDataModel metaModel)
Constructs a new Line series. |
Pie3DSeries(ArrayDataModel model,
MetaDataModel metaModel,
PlaneMapper3D mapper)
Constructs a new line series |
Pie3DSeries(ArrayDataModel model,
PlaneMapper3D mapper)
Line series constructor without a meta data model |
| Modifier and Type | Method and Description |
|---|---|
LegendEntry[] |
createLegendEntries()
Creates legend entries for the series. |
void |
draw(AbstractGraphics g)
Renders chart object on the Graphics context. |
Point3D |
getCenterPoint()
Returns the center of pie |
double |
getInnerRadius()
Returns the Doughnut inner radius. |
Pie3DLabelAlignment |
getLabelAlignment()
Return pie label alignment |
int |
getLabelAreaMultiplier()
Returns label area multiplier (used for pie resize and leave label area, pie size is resized by multiplier * series label font size) |
PieLabelFormat |
getLabelFormat()
Return label format |
java.lang.String |
getLabelFormatPattern()
Returns pattern of label format |
AbstractPie3DLabelsLayouter |
getLabelLayouter()
Return label layouter of pie |
PieLegendFormat |
getLegendFormat()
Return legend format |
java.lang.String |
getLegendFormatPattern()
Returns legend format pattern |
MarkerConstraints[] |
getMarkerConstraints()
|
java.lang.Object |
getMaxValue(DataColumnType valType)
Note: internal use only! Gets maximum value that is used by series to fit into the chart |
java.lang.Object |
getMinValue(DataColumnType valType)
Note: internal use only! Gets minimum value that is used by series to fit into the chart |
int |
getNumbersLabelPrecision()
Gets precision of labels values floating point numbers. |
int |
getNumbersLegendPrecision()
Gets precision of legend values floating point numbers. |
double |
getOverallAngle()
Returns the pie angle, how much angle the pie should occupy |
PaintMode |
getPaintMode()
Returns the paint mode of the grid |
double |
getPieHeight()
Return pie height |
double |
getRadius()
Returns pie series radius. |
double |
getStartAngle()
Returns slice start angle of pie chart segment |
Pie3DStrategy<Projector> |
getStrategy()
Gets line drawing strategy. |
TextStyle<AbstractPaintTags> |
getTextStyle()
Gets series text style object |
void |
setCenterPoint(Point3D centerPoint)
Set center of pie chart |
void |
setExplodeAndShrink(boolean flag)
Set explode and shrink |
void |
setInnerRadius(java.lang.Double radius)
Sets the Doughnut inner radius. |
void |
setLabelAlignment(Pie3DLabelAlignment alignment)
Set pie label alignment |
void |
setLabelAreaMultiplier(int labelAreaMultiplier)
Specifies label area multiplier (used for pie resize and leave label area, pie size is resized by multiplier * series label font size) Default is 6. |
void |
setLabelFormat(PieLabelFormat labelFormat)
Set label format |
void |
setLabelFormatPattern(java.lang.String labelFormatPattern)
Set pattern of label format Examples: "%1$.2f, %2$.0f%%, %3$s" 1 - value, 2 - percent, 3 - slice name |
void |
setLabelLayouter(Pie3DLabelsLayouters layouter)
Set label layouter of pie |
void |
setLegendFormat(PieLegendFormat legendFormat)
Set legend format |
void |
setLegendFormatPattern(java.lang.String legendFormatPattern)
Set pattern of legend format Examples: "%1$.2f, %2$.0f%%, %3$s", where: 1 - value, 2 - percent, 3 - slice name |
void |
setNumbersLabelPrecision(int numbersLabelPrecision)
Sets floating point numbers precision in the label values. |
void |
setNumbersLegendPrecision(int numbersLegendPrecision)
Sets floating point numbers precision in the legend values. |
void |
setOverallAngle(double angle)
Specifies the pie angle, how much angle the pie should occupy. |
void |
setPaintMode(PaintMode paintMode)
Sets grid painting mode. |
void |
setPieHeight(double pieHeight)
Set the pie height |
void |
setRadius(double radius)
Sets pie series radius. |
void |
setStartAngle(double angle)
Sets start angle of pie chart segment. |
void |
setStrategy(Pie3DStrategy<Projector> strategy)
Sets line drawing strategy. |
| Methods inherited from class lt.monarch.chart.engine.AbstractChartObject |
|---|
chart, copy, dispose, finalize, getChart, getPaintStyle, getParent, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface lt.monarch.chart.engine.ChartObject |
|---|
dispose, getChart, getStyle, getStyle, invalidate, isVisible, layout, repaint, repaint, setChart |
| Methods inherited from interface lt.monarch.chart.engine.StyleEditorEntity |
|---|
getParent, getStyle |
| Field Detail |
|---|
protected TextStyle<AbstractPaintTags> textStyle
| Constructor Detail |
|---|
public Pie3DSeries(ArrayDataModel model,
MetaDataModel metaModel,
PlaneMapper3D mapper)
model - chart data modelmetaModel - meta data modelmapper - mapper, used to map output to a plane in a n-dimensional space
public Pie3DSeries(ArrayDataModel model,
PlaneMapper3D mapper)
model - chart data modelmapper - mapper, used to map output to a plane in a n-dimensional spacepublic Pie3DSeries(ArrayDataModel model)
model - chart data model
public Pie3DSeries(ArrayDataModel model,
MetaDataModel metaModel)
model - chart data modelmetaModel - meta data model| Method Detail |
|---|
public void draw(AbstractGraphics g)
ChartObject
draw in interface ChartObjectdraw in class AbstractChartSeries<SeriesPaintTags,Projector>g - graphics contextpublic MarkerConstraints[] getMarkerConstraints()
public void setStrategy(Pie3DStrategy<Projector> strategy)
strategy - drawing strategypublic Pie3DStrategy<Projector> getStrategy()
public final void setPaintMode(PaintMode paintMode)
paintMode - The paintMode to set.public final PaintMode getPaintMode()
public void setInnerRadius(java.lang.Double radius)
radius - doughnut inner radius (in range [0, 0.5]).public double getInnerRadius()
public void setRadius(double radius)
radius - radius of pie series in range [0,0.5]public double getRadius()
public void setStartAngle(double angle)
angle - angle [0; 360]public double getStartAngle()
public void setOverallAngle(double angle)
angle - angle [0; 360]public double getOverallAngle()
public void setCenterPoint(Point3D centerPoint)
centerPoint - point of the center the pie [0,1]public Point3D getCenterPoint()
public void setExplodeAndShrink(boolean flag)
flag - true, if explode and shrink, otherwise explode, but not shrinkpublic AbstractPie3DLabelsLayouter getLabelLayouter()
public void setLabelLayouter(Pie3DLabelsLayouters layouter)
layouter - label layouterpublic Pie3DLabelAlignment getLabelAlignment()
public void setLabelAlignment(Pie3DLabelAlignment alignment)
alignment - label alignmentpublic java.lang.Object getMaxValue(DataColumnType valType)
AbstractChartSeries
getMaxValue in class AbstractChartSeries<SeriesPaintTags,Projector>valType - data value columnpublic java.lang.Object getMinValue(DataColumnType valType)
AbstractChartSeries
getMinValue in class AbstractChartSeries<SeriesPaintTags,Projector>valType - data value columnpublic LegendEntry[] createLegendEntries()
AbstractChartSeries
createLegendEntries in interface ChartSeriescreateLegendEntries in class AbstractChartSeries<SeriesPaintTags,Projector>public java.lang.String getLabelFormatPattern()
public void setLabelFormatPattern(java.lang.String labelFormatPattern)
labelFormatPattern - the labelFormatPattern to setpublic java.lang.String getLegendFormatPattern()
public void setLegendFormatPattern(java.lang.String legendFormatPattern)
legendFormatPattern - the legendFormatPattern to setpublic PieLegendFormat getLegendFormat()
public void setLegendFormat(PieLegendFormat legendFormat)
legendFormat - the legendFormat to setpublic void setLabelFormat(PieLabelFormat labelFormat)
labelFormat - the labelFormat to setpublic PieLabelFormat getLabelFormat()
public int getNumbersLabelPrecision()
public void setNumbersLabelPrecision(int numbersLabelPrecision)
numbersLabelPrecision - precision of floating point numbers.public int getNumbersLegendPrecision()
public void setNumbersLegendPrecision(int numbersLegendPrecision)
numbersLegendPrecision - precision of floating point numbers.public TextStyle<AbstractPaintTags> getTextStyle()
public double getPieHeight()
public void setPieHeight(double pieHeight)
pieHeight - the pieHeight to setpublic void setLabelAreaMultiplier(int labelAreaMultiplier)
labelAreaMultiplier - label area multiplierpublic int getLabelAreaMultiplier()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||