public class PieChartModelImpl extends SlicedChartModelImpl<PieChartModelImpl> implements PieChartModel<PieChartModelImpl>
AbstractChart.DataProviderChangeListener| Constructor and Description |
|---|
PieChartModelImpl() |
| 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() |
PieChartModelImpl |
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%.
|
PieChartModelImpl |
setAngle(java.lang.Integer angle)
Sets pie lean angle (for 3D effect).
|
PieChartModelImpl |
setBalloonFunction(JsFunction balloonFunction)
Sets the function, the graph will call it and pass GraphDataItem object to it.
|
PieChartModelImpl |
setBalloonText(java.lang.String balloonText)
Sets balloon text.
|
PieChartModelImpl |
setDepth3D(java.lang.Integer depth3D)
Sets depth of the pie (for 3D effect).
|
PieChartModelImpl |
setGradientType(GradientType gradientType)
Sets type of gradient.
|
PieChartModelImpl |
setInnerRadius(java.lang.String innerRadius)
Sets inner radius of the pie, in pixels or percents.
|
PieChartModelImpl |
setLabelRadius(java.lang.Integer labelRadius)
Sets the distance between the label and the slice, in pixels.
|
PieChartModelImpl |
setLabelRadiusField(java.lang.String labelRadiusField)
Sets name of the field from data provider which specifies the length of a tick.
|
PieChartModelImpl |
setLabelText(java.lang.String labelText)
Sets label text.
|
PieChartModelImpl |
setMinRadius(java.lang.Integer minRadius)
Sets minimum radius of the pie, in pixels.
|
PieChartModelImpl |
setPieAlpha(java.lang.Double pieAlpha)
Sets opacity for a slices.
|
PieChartModelImpl |
setPieX(java.lang.String pieX)
Sets X position of a pie center, in pixels or in percents.
|
PieChartModelImpl |
setPieY(java.lang.String pieY)
Sets Y position of a pie center, in pixels or in percents.
|
PieChartModelImpl |
setPullOutRadius(java.lang.String pullOutRadius)
Sets pull out radius, in pixels or percents.
|
PieChartModelImpl |
setRadius(java.lang.String radius)
Sets radius of a pie, in pixels or percents.
|
PieChartModelImpl |
setStartAngle(java.lang.Integer startAngle)
Sets angle of the first slice, in degrees.
|
PieChartModelImpl |
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, setVisibleInLegendFieldaddAdditionalFields, addData, addDataProviderChangeListener, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, fireDataProviderChanged, getAccessible, getAccessibleDescription, 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, setAccessibleDescription, 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, setUsePrefixesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddGradientRatio, 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, setVisibleInLegendFieldaddAdditionalFields, addData, addLabels, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addTitles, getAccessible, getAccessibleDescription, 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, setAccessibleDescription, 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, setUsePrefixesgetMarginBottom, getMarginLeft, getMarginRight, getMarginTop, setMarginBottom, setMarginLeft, setMarginRight, setMarginTopgetStartDuration, getStartEffect, setStartDuration, setStartEffectpublic java.lang.Integer getAngle()
getAngle in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setAngle(java.lang.Integer angle)
PieChartModelsetAngle in interface PieChartModel<PieChartModelImpl>angle - the anglepublic java.lang.String getBalloonText()
getBalloonText in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setBalloonText(java.lang.String balloonText)
PieChartModelsetBalloonText in interface PieChartModel<PieChartModelImpl>balloonText - balloon text stringpublic java.lang.Integer getDepth3D()
getDepth3D in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setDepth3D(java.lang.Integer depth3D)
PieChartModelsetDepth3D in interface PieChartModel<PieChartModelImpl>depth3D - the depth 3Dpublic java.lang.String getInnerRadius()
getInnerRadius in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setInnerRadius(java.lang.String innerRadius)
PieChartModelsetInnerRadius in interface PieChartModel<PieChartModelImpl>innerRadius - inner radius in pixels or percentspublic java.lang.Integer getLabelRadius()
getLabelRadius in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setLabelRadius(java.lang.Integer labelRadius)
PieChartModelsetLabelRadius in interface PieChartModel<PieChartModelImpl>labelRadius - distance between the label and the slice, in pixelspublic java.lang.String getLabelRadiusField()
getLabelRadiusField in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setLabelRadiusField(java.lang.String labelRadiusField)
PieChartModelsetLabelRadiusField in interface PieChartModel<PieChartModelImpl>labelRadiusField - label radius field stringpublic java.lang.String getLabelText()
getLabelText in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setLabelText(java.lang.String labelText)
PieChartModelsetLabelText in interface PieChartModel<PieChartModelImpl>labelText - label text stringpublic java.lang.Integer getMinRadius()
getMinRadius in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setMinRadius(java.lang.Integer minRadius)
PieChartModelsetMinRadius in interface PieChartModel<PieChartModelImpl>minRadius - the minimum radiuspublic java.lang.Double getPieAlpha()
getPieAlpha in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setPieAlpha(java.lang.Double pieAlpha)
PieChartModelsetPieAlpha in interface PieChartModel<PieChartModelImpl>pieAlpha - the pie alphapublic java.lang.String getPieX()
getPieX in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setPieX(java.lang.String pieX)
PieChartModelsetPieX in interface PieChartModel<PieChartModelImpl>pieX - X position of a pie centerpublic java.lang.String getPieY()
getPieY in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setPieY(java.lang.String pieY)
PieChartModelsetPieY in interface PieChartModel<PieChartModelImpl>pieY - Y position of a pie centerpublic java.lang.String getPullOutRadius()
getPullOutRadius in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setPullOutRadius(java.lang.String pullOutRadius)
PieChartModelsetPullOutRadius in interface PieChartModel<PieChartModelImpl>pullOutRadius - pull out radiuspublic java.lang.String getRadius()
getRadius in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setRadius(java.lang.String radius)
PieChartModelsetRadius in interface PieChartModel<PieChartModelImpl>radius - the radius of a piepublic java.lang.Integer getStartAngle()
getStartAngle in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setStartAngle(java.lang.Integer startAngle)
PieChartModelsetStartAngle in interface PieChartModel<PieChartModelImpl>startAngle - angle of the first slice in degreepublic java.lang.String getStartRadius()
getStartRadius in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setStartRadius(java.lang.String startRadius)
PieChartModelsetStartRadius in interface PieChartModel<PieChartModelImpl>startRadius - the start radiuspublic java.lang.Boolean getAdjustPrecision()
getAdjustPrecision in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setAdjustPrecision(java.lang.Boolean adjustPrecision)
PieChartModelsetAdjustPrecision in interface PieChartModel<PieChartModelImpl>adjustPrecision - adjust precision optionpublic JsFunction getBalloonFunction()
getBalloonFunction in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setBalloonFunction(JsFunction balloonFunction)
PieChartModelsetBalloonFunction in interface PieChartModel<PieChartModelImpl>balloonFunction - the balloon functionpublic GradientType getGradientType()
getGradientType in interface PieChartModel<PieChartModelImpl>public PieChartModelImpl setGradientType(GradientType gradientType)
PieChartModelsetGradientType in interface PieChartModel<PieChartModelImpl>gradientType - the gradient typepublic java.util.List<java.lang.String> getWiredFields()
getWiredFields in class SlicedChartModelImpl<PieChartModelImpl>DataItem that are bound to the chart