public class PieChartImpl extends SlicedChartImpl<PieChart,PieChartModelImpl> implements PieChart
Chart.AbstractChartClickEvent, Chart.AbstractChartEvent, Chart.AbstractClickEvent, Chart.AbstractCursorEvent, Chart.AbstractGraphItemClickEvent, Chart.AbstractItemEvent, Chart.AbstractSliceClickEvent, Chart.AxisZoomEvent, Chart.ChartClickEvent, Chart.ChartRightClickEvent, Chart.CursorPeriodSelectEvent, Chart.CursorZoomEvent, Chart.GraphClickEvent, Chart.GraphItemClickEvent, Chart.GraphItemRightClickEvent, Chart.LegendItemClickEvent, Chart.LegendItemEvent, Chart.LegendItemHideEvent, Chart.LegendItemShowEvent, Chart.LegendMarkerClickEvent, Chart.RollOutGraphEvent, Chart.RollOutGraphItemEvent, Chart.RollOverGraphEvent, Chart.RollOverGraphItemEvent, Chart.SliceClickEvent, Chart.SlicePullInEvent, Chart.SlicePullOutEvent, Chart.SliceRightClickEvent, Chart.ZoomEventComponent.Alignment, Component.BelongToFrame, Component.Disposable, Component.Editable, Component.Focusable, Component.HasCaption, Component.HasDescription, Component.HasIcon, Component.HasXmlDescriptor, Component.WrapperHasContextHelp.ContextHelpIconClickEventsliceClickHandler, slicePullInHandler, slicePullOutHandler, sliceRightClickHandlerchartLocaleHelper, clickHandler, currentAuthentication, formatStringsRegistry, legendItemHideHandler, legendItemShowHandler, legendLabelClickHandler, legendMarkerClickHandler, messages, messageTools, rightClickHandleralignment, applicationContext, component, contextHelpIconClickHandler, contextHelpIconClickListener, descriptionAsHtml, element, frame, htmlSanitizerEnabled, icon, ICON_STYLE, id, parentAUTO_SIZE, AUTO_SIZE_PX, FULL_SIZE| Constructor and Description |
|---|
PieChartImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected PieChartModelImpl |
createChartConfiguration() |
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() |
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, addSliceClickListener, addSlicePullInListener, addSlicePullOutListener, addSliceRightClickListener, 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, onSliceClick, onSlicePullIn, onSlicePullOut, onSliceRightClick, 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, addClickListener, addData, addLabels, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addPrefixesOfBigNumbers, addPrefixesOfSmallNumbers, addRightClickListener, addTitles, afterPropertiesSet, createChartSerializer, createComponent, 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, getModel, getNativeJson, getPanEventsEnabled, getPath, getPathToImages, getPercentPrecision, getPrecision, getPrefixesOfBigNumbers, getPrefixesOfSmallNumbers, getProcessCount, getProcessTimeout, getResponsive, getSvgIcons, getTapToActivate, getTheme, getThousandsSeparator, getTitles, getTouchClickDuration, getUsePrefixes, initLocale, onChartClick, onChartRightClick, onLegendItemHide, onLegendItemShow, onLegendLabelClick, onLegendMarkerClick, repaint, setAccessible, setAccessibleDescription, setAccessibleTitle, setAddClassNames, setAdditionalFields, setAllLabels, setAutoDisplay, setAutoResize, setAutoTransform, setBackgroundAlpha, setBackgroundColor, setBalloon, setBorderAlpha, setBorderColor, setChartLocaleHelper, setClassNamePrefix, setColor, setCreditsPosition, setCurrentAuthentication, setDataProvider, setDecimalSeparator, setDefs, setExport, setFontFamily, setFontSize, setFormatStringsRegistry, setHandDrawn, setHandDrawScatter, setHandDrawThickness, setHideBalloonTime, setLanguage, setLegend, setMessages, setMessageTools, setNativeJson, setPanEventsEnabled, setPath, setPathToImages, setPercentPrecision, setPrecision, setPrefixesOfBigNumbers, setPrefixesOfSmallNumbers, setProcessCount, setProcessTimeout, setResponsive, setSvgIcons, setTapToActivate, setTheme, setThousandsSeparator, setTitles, setTouchClickDuration, setupChartLocale, setupDefaults, setUsePrefixesaddAttachListener, addDetachListener, addStyleName, assignDebugId, attached, detached, getAlignment, getCaption, getComponent, getComposition, getContextHelpIconClickHandler, getContextHelpText, getDebugId, getDescription, getEventHub, getFrame, getHeight, getHeightSizeUnit, getHtmlSanitizer, getIcon, getIconName, getIconResource, getId, getParent, getStyleName, getUiComponentProperties, getUiProperties, getWidth, getWidthSizeUnit, getXmlDescriptor, hasSubscriptions, hasValidationError, isAttached, isCaptionAsHtml, isContextHelpTextHtmlEnabled, isDescriptionAsHtml, isEnabled, isEnabledRecursive, isHtmlSanitizerEnabled, isResponsive, isVisible, isVisibleRecursive, onContextHelpIconClick, publish, removeStyleName, sanitize, setAlignment, setApplicationContext, setCaption, setCaptionAsHtml, setContextHelpIconClickHandler, setContextHelpText, setContextHelpTextHtmlEnabled, setDebugId, setDescription, setDescriptionAsHtml, setEnabled, setFrame, setHeight, setHtmlSanitizerEnabled, setIcon, setIconFromSet, setId, setParent, setResponsive, setStyleName, setValidationError, setVisible, setWidth, setXmlDescriptor, unsubscribe, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSliceClickListener, addSlicePullInListener, addSlicePullOutListener, addSliceRightClickListeneraddClickListener, addLegendItemHideListener, addLegendItemShowListener, addLegendLabelClickListener, addLegendMarkerClickListener, addRightClickListener, getDataProvider, getNativeJson, repaint, setDataProvider, setNativeJsongetFrame, setFrameaddStyleName, getAlignment, getHeight, getHeightSizeUnit, getId, getParent, getStyleName, getWidth, getWidthSizeUnit, isEnabled, isEnabledRecursive, isResponsive, isVisible, isVisibleRecursive, removeStyleName, setAlignment, setEnabled, setHeight, setHeightAuto, setHeightFull, setId, setParent, setResponsive, setSizeAuto, setSizeFull, setStyleName, setVisible, setWidth, setWidthAuto, setWidthFull, unwrap, unwrapComposition, unwrapCompositionOrNull, unwrapOrNull, withUnwrapped, withUnwrappedCompositiongetIcon, setIcon, setIconFromSetgetCaption, setCaptiongetDescription, setDescriptionaddGradientRatio, 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, 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, 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, setStartEffectprotected PieChartModelImpl createChartConfiguration()
createChartConfiguration in class ChartImpl<PieChart,PieChartModelImpl>public java.lang.Integer getAngle()
getAngle in interface PieChartModel<PieChart>public PieChart setAngle(java.lang.Integer angle)
PieChartModelsetAngle in interface PieChartModel<PieChart>angle - the anglepublic java.lang.String getBalloonText()
getBalloonText in interface PieChartModel<PieChart>public PieChart setBalloonText(java.lang.String balloonText)
PieChartModelsetBalloonText in interface PieChartModel<PieChart>balloonText - balloon text stringpublic java.lang.Integer getDepth3D()
getDepth3D in interface PieChartModel<PieChart>public PieChart setDepth3D(java.lang.Integer depth3D)
PieChartModelsetDepth3D in interface PieChartModel<PieChart>depth3D - the depth 3Dpublic java.lang.String getInnerRadius()
getInnerRadius in interface PieChartModel<PieChart>public PieChart setInnerRadius(java.lang.String innerRadius)
PieChartModelsetInnerRadius 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)
PieChartModelsetLabelRadius 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)
PieChartModelsetLabelRadiusField 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)
PieChartModelsetLabelText in interface PieChartModel<PieChart>labelText - label text stringpublic java.lang.Integer getMinRadius()
getMinRadius in interface PieChartModel<PieChart>public PieChart setMinRadius(java.lang.Integer minRadius)
PieChartModelsetMinRadius in interface PieChartModel<PieChart>minRadius - the minimum radiuspublic java.lang.Double getPieAlpha()
getPieAlpha in interface PieChartModel<PieChart>public PieChart setPieAlpha(java.lang.Double pieAlpha)
PieChartModelsetPieAlpha in interface PieChartModel<PieChart>pieAlpha - the pie alphapublic java.lang.String getPieX()
getPieX in interface PieChartModel<PieChart>public PieChart setPieX(java.lang.String pieX)
PieChartModelsetPieX 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)
PieChartModelsetPieY 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)
PieChartModelsetPullOutRadius in interface PieChartModel<PieChart>pullOutRadius - pull out radiuspublic java.lang.String getRadius()
getRadius in interface PieChartModel<PieChart>public PieChart setRadius(java.lang.String radius)
PieChartModelsetRadius 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)
PieChartModelsetStartAngle 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)
PieChartModelsetStartRadius in interface PieChartModel<PieChart>startRadius - the start radiuspublic java.lang.Boolean getAdjustPrecision()
getAdjustPrecision in interface PieChartModel<PieChart>public PieChart setAdjustPrecision(java.lang.Boolean adjustPrecision)
PieChartModelsetAdjustPrecision in interface PieChartModel<PieChart>adjustPrecision - adjust precision optionpublic JsFunction getBalloonFunction()
getBalloonFunction in interface PieChartModel<PieChart>public PieChart setBalloonFunction(JsFunction balloonFunction)
PieChartModelsetBalloonFunction in interface PieChartModel<PieChart>balloonFunction - the balloon functionpublic GradientType getGradientType()
getGradientType in interface PieChartModel<PieChart>public PieChart setGradientType(GradientType gradientType)
PieChartModelsetGradientType in interface PieChartModel<PieChart>gradientType - the gradient type