public abstract class SlicedChart<T extends SlicedChart> extends AbstractChart<T> implements SlicedChartModel<T>
AbstractChart.DataProviderChangeListener
Constructor and Description |
---|
SlicedChart(ChartType type) |
Modifier and Type | Method and Description |
---|---|
T |
addColors(Color... colors)
Adds colors.
|
T |
addGradientRatio(java.lang.Double... ratios)
Adds gradient ratios.
|
java.lang.String |
getAccessibleLabel() |
java.lang.Double |
getAlpha() |
java.lang.String |
getAlphaField() |
Color |
getBaseColor() |
java.lang.String |
getClassNameField() |
java.lang.String |
getColorField() |
java.util.List<Color> |
getColors() |
java.lang.String |
getDescriptionField() |
java.util.List<java.lang.Double> |
getGradientRatio() |
java.lang.Double |
getGroupedAlpha() |
Color |
getGroupedColor() |
java.lang.String |
getGroupedDescription() |
java.lang.Boolean |
getGroupedPulled() |
java.lang.String |
getGroupedTitle() |
java.lang.Double |
getGroupPercent() |
java.lang.Double |
getHideLabelsPercent() |
java.lang.Double |
getHoverAlpha() |
Color |
getLabelColorField() |
JsFunction |
getLabelFunction() |
java.lang.Boolean |
getLabelsEnabled() |
java.lang.Double |
getLabelTickAlpha() |
Color |
getLabelTickColor() |
java.lang.Integer |
getMarginBottom() |
java.lang.Integer |
getMarginLeft() |
java.lang.Integer |
getMarginRight() |
java.lang.Integer |
getMarginTop() |
java.lang.Integer |
getMaxLabelWidth() |
java.lang.Double |
getOutlineAlpha() |
Color |
getOutlineColor() |
java.lang.Integer |
getOutlineThickness() |
java.lang.String |
getPatternField() |
java.lang.String |
getPulledField() |
java.lang.Integer |
getPullOutDuration() |
AnimationEffect |
getPullOutEffect() |
java.lang.Boolean |
getPullOutOnlyOne() |
java.lang.Boolean |
getSequencedAnimation() |
java.lang.Boolean |
getShowZeroSlices() |
java.lang.Double |
getStartAlpha() |
java.lang.Double |
getStartDuration() |
AnimationEffect |
getStartEffect() |
java.lang.Integer |
getTabIndex() |
java.lang.String |
getTitleField() |
java.lang.String |
getUrlField() |
java.lang.String |
getUrlTarget() |
java.lang.String |
getValueField() |
java.lang.String |
getVisibleInLegendField() |
java.util.List<java.lang.String> |
getWiredFields() |
T |
setAccessibleLabel(java.lang.String accessibleLabel)
Sets accessible label text.
|
T |
setAlpha(java.lang.Double alpha)
Sets opacity of all slices.
|
T |
setAlphaField(java.lang.String alphaField)
Sets alpha field name from data provider which holds slice's alpha.
|
T |
setBaseColor(Color baseColor)
Sets color of the first slice.
|
T |
setClassNameField(java.lang.String classNameField)
Sets field name from your data provider which holds CSS class name.
|
T |
setColorField(java.lang.String colorField)
Sets name of the field from data provider which holds slice's color.
|
T |
setColors(java.util.List<Color> colors)
Sets the list of colors.
|
T |
setDescriptionField(java.lang.String descriptionField)
Sets name of the field from data provider which holds a string with description.
|
T |
setGradientRatio(java.util.List<java.lang.Double> gradientRatio)
Sets the list of gradient ratio.
|
T |
setGroupedAlpha(java.lang.Double groupedAlpha)
Sets opacity of the group slice.
|
T |
setGroupedColor(Color groupedColor)
Sets the color of the group slice.
|
T |
setGroupedDescription(java.lang.String groupedDescription)
Sets description of the group slice.
|
T |
setGroupedPulled(java.lang.Boolean groupedPulled)
If groupedPulled set to true, the group slice will be pulled out when the chart loads.
|
T |
setGroupedTitle(java.lang.String groupedTitle)
Sets title of the group slice.
|
T |
setGroupPercent(java.lang.Double groupPercent)
Sets group percent.
|
T |
setHideLabelsPercent(java.lang.Double hideLabelsPercent)
Sets hide labels percent.
|
T |
setHoverAlpha(java.lang.Double hoverAlpha)
Sets opacity of a hovered slice.
|
T |
setLabelColorField(Color labelColorField)
Sets a field from your data provider which holds color value for the tick.
|
T |
setLabelFunction(JsFunction labelFunction)
Sets label function that can format data labels in any way you want.
|
T |
setLabelsEnabled(java.lang.Boolean labelsEnabled)
Set labelsEnabled to true if data labels should be visible.
|
T |
setLabelTickAlpha(java.lang.Double labelTickAlpha)
Sets
label tick opacity. |
T |
setLabelTickColor(Color labelTickColor)
Sets
label tick color. |
T |
setMarginBottom(java.lang.Integer marginBottom)
Sets bottom spacing between chart and container.
|
T |
setMarginLeft(java.lang.Integer marginLeft)
Sets left-hand spacing between chart and container.
|
T |
setMarginRight(java.lang.Integer marginRight)
Sets right-hand spacing between chart and container.
|
T |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing between chart and container.
|
T |
setMaxLabelWidth(java.lang.Integer maxLabelWidth)
Sets maximum label width.
|
T |
setOutlineAlpha(java.lang.Double outlineAlpha)
Sets outline opacity.
|
T |
setOutlineColor(Color outlineColor)
Sets outline color.
|
T |
setOutlineThickness(java.lang.Integer outlineThickness)
Sets pie outline thickness.
|
T |
setPatternField(java.lang.String patternField)
Sets field name from your data provider which holds pattern information.
|
T |
setPulledField(java.lang.String pulledField)
Sets name of the field in chart's data provider which holds a boolean value telling the chart whether this
slice must be pulled or not.
|
T |
setPullOutDuration(java.lang.Integer pullOutDuration)
Sets pull out duration in seconds.
|
T |
setPullOutEffect(AnimationEffect pullOutEffect)
Sets pull out effect.
|
T |
setPullOutOnlyOne(java.lang.Boolean pullOutOnlyOne)
If pullOutOnlyOne set to true, only one slice can be pulled out at a time.
|
T |
setSequencedAnimation(java.lang.Boolean sequencedAnimation)
Specifies whether the animation should be sequenced or all slices should appear at once.
|
T |
setShowZeroSlices(java.lang.Boolean showZeroSlices)
Set showZeroSlices to true if you want the chart should display outlines (if visible) and labels for slices
even if their value is 0.
|
T |
setStartAlpha(java.lang.Double startAlpha)
Sets initial opacity of all slices.
|
T |
setStartDuration(java.lang.Double startDuration)
Sets duration of the animation, in seconds
|
T |
setStartEffect(AnimationEffect startEffect)
Sets animation effect.
|
T |
setTabIndex(java.lang.Integer tabIndex)
In case you set it to some number, the chart will set focus on a slice (starting from first) when user clicks
tab key.
|
T |
setTitleField(java.lang.String titleField)
Sets name of the field from data provider which holds slice's title.
|
T |
setUrlField(java.lang.String urlField)
Sets name of the field from data provider which holds URL which would be accessed if the user clicks on a slice.
|
T |
setUrlTarget(java.lang.String urlTarget)
If URL is specified for a slice, it will be opened when user clicks on it.
|
T |
setValueField(java.lang.String valueField)
Sets name of the field from data provider which holds slice's value.
|
T |
setVisibleInLegendField(java.lang.String visibleInLegendField)
Use this field to selectively specify which slice is shown in legend.
|
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
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
public SlicedChart(ChartType type)
public java.lang.Double getAlpha()
getAlpha
in interface SlicedChartModel<T extends SlicedChart>
public T setAlpha(java.lang.Double alpha)
SlicedChartModel
setAlpha
in interface SlicedChartModel<T extends SlicedChart>
alpha
- opacity of all slicespublic java.lang.String getAlphaField()
getAlphaField
in interface SlicedChartModel<T extends SlicedChart>
public T setAlphaField(java.lang.String alphaField)
SlicedChartModel
setAlphaField
in interface SlicedChartModel<T extends SlicedChart>
alphaField
- alpha field stringpublic Color getBaseColor()
getBaseColor
in interface SlicedChartModel<T extends SlicedChart>
public T setBaseColor(Color baseColor)
SlicedChartModel
setBaseColor
in interface SlicedChartModel<T extends SlicedChart>
baseColor
- color of the first slicepublic java.lang.String getColorField()
getColorField
in interface SlicedChartModel<T extends SlicedChart>
public T setColorField(java.lang.String colorField)
SlicedChartModel
setColorField
in interface SlicedChartModel<T extends SlicedChart>
colorField
- color field stringpublic java.util.List<Color> getColors()
getColors
in interface HasColors<T extends SlicedChart>
public T setColors(java.util.List<Color> colors)
HasColors
If you use charts based on SlicedChart
it specifies the colors of the slices, if the slice color is not set.
If there are more slices than colors in this array, the chart picks random color.
If you use charts based on CoordinateChart
it specifies the colors of the graphs if the lineColor of a graph is not set.
If there are more graphs then colors in this array, the chart picks a random color.
setColors
in interface HasColors<T extends SlicedChart>
colors
- - list of colorspublic T addColors(Color... colors)
HasColors
addColors
in interface HasColors<T extends SlicedChart>
colors
- - list of colorspublic java.lang.String getDescriptionField()
getDescriptionField
in interface SlicedChartModel<T extends SlicedChart>
public T setDescriptionField(java.lang.String descriptionField)
SlicedChartModel
setDescriptionField
in interface SlicedChartModel<T extends SlicedChart>
descriptionField
- description field stringpublic java.util.List<java.lang.Double> getGradientRatio()
getGradientRatio
in interface SlicedChartModel<T extends SlicedChart>
public T setGradientRatio(java.util.List<java.lang.Double> gradientRatio)
SlicedChartModel
setGradientRatio
in interface SlicedChartModel<T extends SlicedChart>
gradientRatio
- list of gradient ratiopublic T addGradientRatio(java.lang.Double... ratios)
SlicedChartModel
addGradientRatio
in interface SlicedChartModel<T extends SlicedChart>
ratios
- the ratiospublic java.lang.Double getGroupedAlpha()
getGroupedAlpha
in interface SlicedChartModel<T extends SlicedChart>
public T setGroupedAlpha(java.lang.Double groupedAlpha)
SlicedChartModel
setGroupedAlpha
in interface SlicedChartModel<T extends SlicedChart>
groupedAlpha
- opacity of the group slicepublic Color getGroupedColor()
getGroupedColor
in interface SlicedChartModel<T extends SlicedChart>
public T setGroupedColor(Color groupedColor)
SlicedChartModel
setGroupedColor
in interface SlicedChartModel<T extends SlicedChart>
groupedColor
- grouped colorpublic java.lang.String getGroupedDescription()
getGroupedDescription
in interface SlicedChartModel<T extends SlicedChart>
public T setGroupedDescription(java.lang.String groupedDescription)
SlicedChartModel
setGroupedDescription
in interface SlicedChartModel<T extends SlicedChart>
groupedDescription
- grouped description stringpublic java.lang.Boolean getGroupedPulled()
getGroupedPulled
in interface SlicedChartModel<T extends SlicedChart>
public T setGroupedPulled(java.lang.Boolean groupedPulled)
SlicedChartModel
setGroupedPulled
in interface SlicedChartModel<T extends SlicedChart>
groupedPulled
- grouped pulled optionpublic java.lang.String getGroupedTitle()
getGroupedTitle
in interface SlicedChartModel<T extends SlicedChart>
public T setGroupedTitle(java.lang.String groupedTitle)
SlicedChartModel
setGroupedTitle
in interface SlicedChartModel<T extends SlicedChart>
groupedTitle
- grouped title stringpublic java.lang.Double getGroupPercent()
getGroupPercent
in interface SlicedChartModel<T extends SlicedChart>
public T setGroupPercent(java.lang.Double groupPercent)
SlicedChartModel
setGroupPercent
in interface SlicedChartModel<T extends SlicedChart>
groupPercent
- the group percentpublic java.lang.Double getHideLabelsPercent()
getHideLabelsPercent
in interface SlicedChartModel<T extends SlicedChart>
public T setHideLabelsPercent(java.lang.Double hideLabelsPercent)
SlicedChartModel
setHideLabelsPercent
in interface SlicedChartModel<T extends SlicedChart>
hideLabelsPercent
- the hide labels percentpublic java.lang.Double getHoverAlpha()
getHoverAlpha
in interface SlicedChartModel<T extends SlicedChart>
public T setHoverAlpha(java.lang.Double hoverAlpha)
SlicedChartModel
setHoverAlpha
in interface SlicedChartModel<T extends SlicedChart>
hoverAlpha
- opacity of a hovered slicepublic java.lang.Boolean getLabelsEnabled()
getLabelsEnabled
in interface SlicedChartModel<T extends SlicedChart>
public T setLabelsEnabled(java.lang.Boolean labelsEnabled)
SlicedChartModel
setLabelsEnabled
in interface SlicedChartModel<T extends SlicedChart>
labelsEnabled
- labels enabled optionpublic java.lang.Double getLabelTickAlpha()
getLabelTickAlpha
in interface SlicedChartModel<T extends SlicedChart>
label
tick opacitypublic T setLabelTickAlpha(java.lang.Double labelTickAlpha)
SlicedChartModel
label
tick opacity. Value range is 0 - 1.setLabelTickAlpha
in interface SlicedChartModel<T extends SlicedChart>
labelTickAlpha
- label tick opacitypublic Color getLabelTickColor()
getLabelTickColor
in interface SlicedChartModel<T extends SlicedChart>
label
tick colorpublic T setLabelTickColor(Color labelTickColor)
SlicedChartModel
label
tick color.setLabelTickColor
in interface SlicedChartModel<T extends SlicedChart>
labelTickColor
- label tick colorpublic java.lang.Integer getMarginBottom()
getMarginBottom
in interface HasMargins<T extends SlicedChart>
public T setMarginBottom(java.lang.Integer marginBottom)
HasMargins
setMarginBottom
in interface HasMargins<T extends SlicedChart>
marginBottom
- bottom spacingpublic java.lang.Integer getMarginLeft()
getMarginLeft
in interface HasMargins<T extends SlicedChart>
public T setMarginLeft(java.lang.Integer marginLeft)
HasMargins
SerialChart
or
XYCHart
and AbstractLegend.autoMargins
is true.setMarginLeft
in interface HasMargins<T extends SlicedChart>
marginLeft
- left-hand spacingpublic java.lang.Integer getMarginRight()
getMarginRight
in interface HasMargins<T extends SlicedChart>
public T setMarginRight(java.lang.Integer marginRight)
HasMargins
SerialChart
or
XYCHart
and autoMargins property of the legend is true.setMarginRight
in interface HasMargins<T extends SlicedChart>
marginRight
- right-hand spacingpublic java.lang.Integer getMarginTop()
getMarginTop
in interface HasMargins<T extends SlicedChart>
public T setMarginTop(java.lang.Integer marginTop)
HasMargins
setMarginTop
in interface HasMargins<T extends SlicedChart>
marginTop
- top spacingpublic java.lang.Double getOutlineAlpha()
getOutlineAlpha
in interface SlicedChartModel<T extends SlicedChart>
public T setOutlineAlpha(java.lang.Double outlineAlpha)
SlicedChartModel
setOutlineAlpha
in interface SlicedChartModel<T extends SlicedChart>
outlineAlpha
- outline opacitypublic Color getOutlineColor()
getOutlineColor
in interface SlicedChartModel<T extends SlicedChart>
public T setOutlineColor(Color outlineColor)
SlicedChartModel
setOutlineColor
in interface SlicedChartModel<T extends SlicedChart>
outlineColor
- the outline colorpublic java.lang.Integer getOutlineThickness()
getOutlineThickness
in interface SlicedChartModel<T extends SlicedChart>
public T setOutlineThickness(java.lang.Integer outlineThickness)
SlicedChartModel
setOutlineThickness
in interface SlicedChartModel<T extends SlicedChart>
outlineThickness
- the outline thicknesspublic java.lang.String getPatternField()
getPatternField
in interface SlicedChartModel<T extends SlicedChart>
public T setPatternField(java.lang.String patternField)
SlicedChartModel
setPatternField
in interface SlicedChartModel<T extends SlicedChart>
patternField
- pattern field stringpublic java.lang.String getPulledField()
getPulledField
in interface SlicedChartModel<T extends SlicedChart>
public T setPulledField(java.lang.String pulledField)
SlicedChartModel
setPulledField
in interface SlicedChartModel<T extends SlicedChart>
pulledField
- pulled field stringpublic java.lang.Integer getPullOutDuration()
getPullOutDuration
in interface SlicedChartModel<T extends SlicedChart>
public T setPullOutDuration(java.lang.Integer pullOutDuration)
SlicedChartModel
setPullOutDuration
in interface SlicedChartModel<T extends SlicedChart>
pullOutDuration
- pull out duration in secondspublic AnimationEffect getPullOutEffect()
getPullOutEffect
in interface SlicedChartModel<T extends SlicedChart>
public T setPullOutEffect(AnimationEffect pullOutEffect)
SlicedChartModel
setPullOutEffect
in interface SlicedChartModel<T extends SlicedChart>
pullOutEffect
- the pull out effectpublic java.lang.Boolean getPullOutOnlyOne()
getPullOutOnlyOne
in interface SlicedChartModel<T extends SlicedChart>
public T setPullOutOnlyOne(java.lang.Boolean pullOutOnlyOne)
SlicedChartModel
setPullOutOnlyOne
in interface SlicedChartModel<T extends SlicedChart>
pullOutOnlyOne
- pull out only one optionpublic java.lang.Boolean getSequencedAnimation()
getSequencedAnimation
in interface SlicedChartModel<T extends SlicedChart>
public T setSequencedAnimation(java.lang.Boolean sequencedAnimation)
SlicedChartModel
setSequencedAnimation
in interface SlicedChartModel<T extends SlicedChart>
sequencedAnimation
- sequenced animation optionpublic java.lang.Double getStartAlpha()
getStartAlpha
in interface SlicedChartModel<T extends SlicedChart>
public T setStartAlpha(java.lang.Double startAlpha)
SlicedChartModel
setStartAlpha
in interface SlicedChartModel<T extends SlicedChart>
startAlpha
- initial opacity of all slicespublic java.lang.Double getStartDuration()
getStartDuration
in interface HasStartEffect<T extends SlicedChart>
public T setStartDuration(java.lang.Double startDuration)
HasStartEffect
setStartDuration
in interface HasStartEffect<T extends SlicedChart>
startDuration
- the start durationpublic AnimationEffect getStartEffect()
getStartEffect
in interface HasStartEffect<T extends SlicedChart>
public T setStartEffect(AnimationEffect startEffect)
HasStartEffect
AngularGaugeChart
animation effect will be
applied for the arrow.setStartEffect
in interface HasStartEffect<T extends SlicedChart>
startEffect
- the start effectpublic java.lang.String getTitleField()
getTitleField
in interface SlicedChartModel<T extends SlicedChart>
public T setTitleField(java.lang.String titleField)
SlicedChartModel
setTitleField
in interface SlicedChartModel<T extends SlicedChart>
titleField
- title field stringpublic java.lang.String getUrlField()
getUrlField
in interface SlicedChartModel<T extends SlicedChart>
public T setUrlField(java.lang.String urlField)
SlicedChartModel
setUrlField
in interface SlicedChartModel<T extends SlicedChart>
urlField
- the URL field stringpublic java.lang.String getUrlTarget()
getUrlTarget
in interface SlicedChartModel<T extends SlicedChart>
public T setUrlTarget(java.lang.String urlTarget)
SlicedChartModel
setUrlTarget
in interface SlicedChartModel<T extends SlicedChart>
urlTarget
- the URL target stringpublic java.lang.String getValueField()
getValueField
in interface SlicedChartModel<T extends SlicedChart>
public T setValueField(java.lang.String valueField)
SlicedChartModel
setValueField
in interface SlicedChartModel<T extends SlicedChart>
valueField
- value field stringpublic java.lang.String getVisibleInLegendField()
getVisibleInLegendField
in interface SlicedChartModel<T extends SlicedChart>
public T setVisibleInLegendField(java.lang.String visibleInLegendField)
SlicedChartModel
setVisibleInLegendField
in interface SlicedChartModel<T extends SlicedChart>
visibleInLegendField
- visible in legend field stringpublic JsFunction getLabelFunction()
getLabelFunction
in interface SlicedChartModel<T extends SlicedChart>
public T setLabelFunction(JsFunction labelFunction)
SlicedChartModel
setLabelFunction
in interface SlicedChartModel<T extends SlicedChart>
labelFunction
- label functionpublic java.lang.Integer getMaxLabelWidth()
getMaxLabelWidth
in interface SlicedChartModel<T extends SlicedChart>
public T setMaxLabelWidth(java.lang.Integer maxLabelWidth)
SlicedChartModel
setMaxLabelWidth
in interface SlicedChartModel<T extends SlicedChart>
maxLabelWidth
- maximum label widthpublic java.lang.String getClassNameField()
getClassNameField
in interface SlicedChartModel<T extends SlicedChart>
public T setClassNameField(java.lang.String classNameField)
SlicedChartModel
AbstractChart.addClassNames
is enabled, the slice element will have this class name set.setClassNameField
in interface SlicedChartModel<T extends SlicedChart>
classNameField
- class name field stringpublic java.lang.Boolean getShowZeroSlices()
getShowZeroSlices
in interface SlicedChartModel<T extends SlicedChart>
public T setShowZeroSlices(java.lang.Boolean showZeroSlices)
SlicedChartModel
setShowZeroSlices
in interface SlicedChartModel<T extends SlicedChart>
showZeroSlices
- show zero slices optionpublic java.lang.String getAccessibleLabel()
getAccessibleLabel
in interface SlicedChartModel<T extends SlicedChart>
public T setAccessibleLabel(java.lang.String accessibleLabel)
SlicedChartModel
tabIndex
is set to some number). Text is added as
aria-label tag. Note, not all screen readers and browsers support this.setAccessibleLabel
in interface SlicedChartModel<T extends SlicedChart>
accessibleLabel
- accessible label textpublic Color getLabelColorField()
getLabelColorField
in interface SlicedChartModel<T extends SlicedChart>
public T setLabelColorField(Color labelColorField)
SlicedChartModel
setLabelColorField
in interface SlicedChartModel<T extends SlicedChart>
labelColorField
- label color field stringpublic java.lang.Integer getTabIndex()
getTabIndex
in interface SlicedChartModel<T extends SlicedChart>
public T setTabIndex(java.lang.Integer tabIndex)
SlicedChartModel
accessibleLabel
. Note, not all browsers and readers support this.setTabIndex
in interface SlicedChartModel<T extends SlicedChart>
tabIndex
- the tab indexpublic java.util.List<java.lang.String> getWiredFields()
getWiredFields
in class AbstractChart<T extends SlicedChart>
DataItem
that are bound to the chart