public class PieChart extends SlicedChart<PieChart> implements PieChartModel<PieChart>
AbstractChart.DataProviderChangeListener
Constructor and Description |
---|
PieChart() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAdjustPrecision() |
java.lang.Integer |
getAngle() |
JsFunction |
getBalloonFunction() |
java.lang.String |
getBalloonText() |
java.lang.Integer |
getDepth3D() |
GradientType |
getGradientType() |
java.lang.String |
getInnerRadius() |
java.lang.Integer |
getLabelRadius() |
java.lang.String |
getLabelRadiusField() |
java.lang.String |
getLabelText() |
java.lang.Integer |
getMinRadius() |
java.lang.Double |
getPieAlpha() |
java.lang.String |
getPieX() |
java.lang.String |
getPieY() |
java.lang.String |
getPullOutRadius() |
java.lang.String |
getRadius() |
java.lang.Integer |
getStartAngle() |
java.lang.String |
getStartRadius() |
java.util.List<java.lang.String> |
getWiredFields() |
PieChart |
setAdjustPrecision(java.lang.Boolean adjustPrecision)
Set this to true, when percent of a sum of all slices is not equal to 100%, number of decimals will be
increased so that sum would become 100%.
|
PieChart |
setAngle(java.lang.Integer angle)
Sets pie lean angle (for 3D effect).
|
PieChart |
setBalloonFunction(JsFunction balloonFunction)
Sets the function, the graph will call it and pass GraphDataItem object to it.
|
PieChart |
setBalloonText(java.lang.String balloonText)
Sets balloon text.
|
PieChart |
setDepth3D(java.lang.Integer depth3D)
Sets depth of the pie (for 3D effect).
|
PieChart |
setGradientType(GradientType gradientType)
Sets type of gradient.
|
PieChart |
setInnerRadius(java.lang.String innerRadius)
Sets inner radius of the pie, in pixels or percents.
|
PieChart |
setLabelRadius(java.lang.Integer labelRadius)
Sets the distance between the label and the slice, in pixels.
|
PieChart |
setLabelRadiusField(java.lang.String labelRadiusField)
Sets name of the field from data provider which specifies the length of a tick.
|
PieChart |
setLabelText(java.lang.String labelText)
Sets label text.
|
PieChart |
setMinRadius(java.lang.Integer minRadius)
Sets minimum radius of the pie, in pixels.
|
PieChart |
setPieAlpha(java.lang.Double pieAlpha)
Sets opacity for a slices.
|
PieChart |
setPieX(java.lang.String pieX)
Sets X position of a pie center, in pixels or in percents.
|
PieChart |
setPieY(java.lang.String pieY)
Sets Y position of a pie center, in pixels or in percents.
|
PieChart |
setPullOutRadius(java.lang.String pullOutRadius)
Sets pull out radius, in pixels or percents
|
PieChart |
setRadius(java.lang.String radius)
Sets radius of a pie, in pixels or percents.
|
PieChart |
setStartAngle(java.lang.Integer startAngle)
Sets angle of the first slice, in degrees.
|
PieChart |
setStartRadius(java.lang.String startRadius)
Sets radius of the positions from which the slices will fly in.
|
addColors, addGradientRatio, getAccessibleLabel, getAlpha, getAlphaField, getBaseColor, getClassNameField, getColorField, getColors, getDescriptionField, getGradientRatio, getGroupedAlpha, getGroupedColor, getGroupedDescription, getGroupedPulled, getGroupedTitle, getGroupPercent, getHideLabelsPercent, getHoverAlpha, getLabelColorField, getLabelFunction, getLabelsEnabled, getLabelTickAlpha, getLabelTickColor, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMaxLabelWidth, getOutlineAlpha, getOutlineColor, getOutlineThickness, getPatternField, getPulledField, getPullOutDuration, getPullOutEffect, getPullOutOnlyOne, getSequencedAnimation, getShowZeroSlices, getStartAlpha, getStartDuration, getStartEffect, getTabIndex, getTitleField, getUrlField, getUrlTarget, getValueField, getVisibleInLegendField, setAccessibleLabel, setAlpha, setAlphaField, setBaseColor, setClassNameField, setColorField, setColors, setDescriptionField, setGradientRatio, setGroupedAlpha, setGroupedColor, setGroupedDescription, setGroupedPulled, setGroupedTitle, setGroupPercent, setHideLabelsPercent, setHoverAlpha, setLabelColorField, setLabelFunction, setLabelsEnabled, setLabelTickAlpha, setLabelTickColor, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMaxLabelWidth, setOutlineAlpha, setOutlineColor, setOutlineThickness, setPatternField, setPulledField, setPullOutDuration, setPullOutEffect, setPullOutOnlyOne, setSequencedAnimation, setShowZeroSlices, setStartAlpha, setStartDuration, setStartEffect, setTabIndex, setTitleField, setUrlField, setUrlTarget, setValueField, setVisibleInLegendField
addAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getType, getUsePrefixes, removeDataProviderSetListener, setAccessible, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixes
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addGradientRatio, getAccessibleLabel, getAlpha, getAlphaField, getBaseColor, getClassNameField, getColorField, getDescriptionField, getGradientRatio, getGroupedAlpha, getGroupedColor, getGroupedDescription, getGroupedPulled, getGroupedTitle, getGroupPercent, getHideLabelsPercent, getHoverAlpha, getLabelColorField, getLabelFunction, getLabelsEnabled, getLabelTickAlpha, getLabelTickColor, getMaxLabelWidth, getOutlineAlpha, getOutlineColor, getOutlineThickness, getPatternField, getPulledField, getPullOutDuration, getPullOutEffect, getPullOutOnlyOne, getSequencedAnimation, getShowZeroSlices, getStartAlpha, getTabIndex, getTitleField, getUrlField, getUrlTarget, getValueField, getVisibleInLegendField, setAccessibleLabel, setAlpha, setAlphaField, setBaseColor, setClassNameField, setColorField, setDescriptionField, setGradientRatio, setGroupedAlpha, setGroupedColor, setGroupedDescription, setGroupedPulled, setGroupedTitle, setGroupPercent, setHideLabelsPercent, setHoverAlpha, setLabelColorField, setLabelFunction, setLabelsEnabled, setLabelTickAlpha, setLabelTickColor, setMaxLabelWidth, setOutlineAlpha, setOutlineColor, setOutlineThickness, setPatternField, setPulledField, setPullOutDuration, setPullOutEffect, setPullOutOnlyOne, setSequencedAnimation, setShowZeroSlices, setStartAlpha, setTabIndex, setTitleField, setUrlField, setUrlTarget, setValueField, setVisibleInLegendField
addAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleTitle, getAddClassNames, getAdditionalFields, getAllLabels, getAutoDisplay, getAutoResize, getAutoTransform, getBackgroundAlpha, getBackgroundColor, getBalloon, getBorderAlpha, getBorderColor, getClassNamePrefix, getColor, getCreditsPosition, getDataProvider, getDecimalSeparator, getDefs, getExport, getFontFamily, getFontSize, getHandDrawn, getHandDrawScatter, getHandDrawThickness, getHideBalloonTime, getLanguage, getLegend, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, setAccessible, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setClassNamePrefix, setColor, setCreditsPosition, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setUsePrefixes
getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop
getStartDuration, getStartEffect, setStartDuration, setStartEffect
public java.lang.Integer getAngle()
getAngle
in interface PieChartModel<PieChart>
public PieChart setAngle(java.lang.Integer angle)
PieChartModel
setAngle
in interface PieChartModel<PieChart>
angle
- the anglepublic java.lang.String getBalloonText()
getBalloonText
in interface PieChartModel<PieChart>
public PieChart setBalloonText(java.lang.String balloonText)
PieChartModel
setBalloonText
in interface PieChartModel<PieChart>
balloonText
- balloon text stringpublic java.lang.Integer getDepth3D()
getDepth3D
in interface PieChartModel<PieChart>
public PieChart setDepth3D(java.lang.Integer depth3D)
PieChartModel
setDepth3D
in interface PieChartModel<PieChart>
depth3D
- the depth 3Dpublic java.lang.String getInnerRadius()
getInnerRadius
in interface PieChartModel<PieChart>
public PieChart setInnerRadius(java.lang.String innerRadius)
PieChartModel
setInnerRadius
in interface PieChartModel<PieChart>
innerRadius
- inner radius in pixels or percentspublic java.lang.Integer getLabelRadius()
getLabelRadius
in interface PieChartModel<PieChart>
public PieChart setLabelRadius(java.lang.Integer labelRadius)
PieChartModel
setLabelRadius
in interface PieChartModel<PieChart>
labelRadius
- distance between the label and the slice, in pixelspublic java.lang.String getLabelRadiusField()
getLabelRadiusField
in interface PieChartModel<PieChart>
public PieChart setLabelRadiusField(java.lang.String labelRadiusField)
PieChartModel
setLabelRadiusField
in interface PieChartModel<PieChart>
labelRadiusField
- label radius field stringpublic java.lang.String getLabelText()
getLabelText
in interface PieChartModel<PieChart>
public PieChart setLabelText(java.lang.String labelText)
PieChartModel
setLabelText
in interface PieChartModel<PieChart>
labelText
- label text stringpublic java.lang.Integer getMinRadius()
getMinRadius
in interface PieChartModel<PieChart>
public PieChart setMinRadius(java.lang.Integer minRadius)
PieChartModel
setMinRadius
in interface PieChartModel<PieChart>
minRadius
- the minimum radiuspublic java.lang.Double getPieAlpha()
getPieAlpha
in interface PieChartModel<PieChart>
public PieChart setPieAlpha(java.lang.Double pieAlpha)
PieChartModel
setPieAlpha
in interface PieChartModel<PieChart>
pieAlpha
- the pie alphapublic java.lang.String getPieX()
getPieX
in interface PieChartModel<PieChart>
public PieChart setPieX(java.lang.String pieX)
PieChartModel
setPieX
in interface PieChartModel<PieChart>
pieX
- X position of a pie centerpublic java.lang.String getPieY()
getPieY
in interface PieChartModel<PieChart>
public PieChart setPieY(java.lang.String pieY)
PieChartModel
setPieY
in interface PieChartModel<PieChart>
pieY
- Y position of a pie centerpublic java.lang.String getPullOutRadius()
getPullOutRadius
in interface PieChartModel<PieChart>
public PieChart setPullOutRadius(java.lang.String pullOutRadius)
PieChartModel
setPullOutRadius
in interface PieChartModel<PieChart>
pullOutRadius
- pull out radiuspublic java.lang.String getRadius()
getRadius
in interface PieChartModel<PieChart>
public PieChart setRadius(java.lang.String radius)
PieChartModel
setRadius
in interface PieChartModel<PieChart>
radius
- the radius of a piepublic java.lang.Integer getStartAngle()
getStartAngle
in interface PieChartModel<PieChart>
public PieChart setStartAngle(java.lang.Integer startAngle)
PieChartModel
setStartAngle
in interface PieChartModel<PieChart>
startAngle
- angle of the first slice in degreepublic java.lang.String getStartRadius()
getStartRadius
in interface PieChartModel<PieChart>
public PieChart setStartRadius(java.lang.String startRadius)
PieChartModel
setStartRadius
in interface PieChartModel<PieChart>
startRadius
- the start radiuspublic java.lang.Boolean getAdjustPrecision()
getAdjustPrecision
in interface PieChartModel<PieChart>
public PieChart setAdjustPrecision(java.lang.Boolean adjustPrecision)
PieChartModel
setAdjustPrecision
in interface PieChartModel<PieChart>
adjustPrecision
- adjust precision optionpublic JsFunction getBalloonFunction()
getBalloonFunction
in interface PieChartModel<PieChart>
public PieChart setBalloonFunction(JsFunction balloonFunction)
PieChartModel
setBalloonFunction
in interface PieChartModel<PieChart>
balloonFunction
- the balloon functionpublic GradientType getGradientType()
getGradientType
in interface PieChartModel<PieChart>
public PieChart setGradientType(GradientType gradientType)
PieChartModel
setGradientType
in interface PieChartModel<PieChart>
gradientType
- the gradient typepublic java.util.List<java.lang.String> getWiredFields()
getWiredFields
in class SlicedChart<PieChart>
DataItem
that are bound to the chart