public abstract class SlicedChartModelImpl<T extends SlicedChartModelImpl> extends AbstractChart<T> implements SlicedChartModel<T>
AbstractChart.DataProviderChangeListener| Constructor and Description |
|---|
SlicedChartModelImpl(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.
|
T |
setMarginLeft(java.lang.Integer marginLeft)
Sets left-hand spacing.
|
T |
setMarginRight(java.lang.Integer marginRight)
Sets right-hand spacing.
|
T |
setMarginTop(java.lang.Integer marginTop)
Sets top spacing.
|
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, 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, waitaddAdditionalFields, 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, setUsePrefixespublic SlicedChartModelImpl(ChartType type)
public java.lang.Double getAlpha()
getAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setAlpha(java.lang.Double alpha)
SlicedChartModelsetAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>alpha - opacity of all slicespublic java.lang.String getAlphaField()
getAlphaField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setAlphaField(java.lang.String alphaField)
SlicedChartModelsetAlphaField in interface SlicedChartModel<T extends SlicedChartModelImpl>alphaField - alpha field stringpublic Color getBaseColor()
getBaseColor in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setBaseColor(Color baseColor)
SlicedChartModelsetBaseColor in interface SlicedChartModel<T extends SlicedChartModelImpl>baseColor - color of the first slicepublic java.lang.String getColorField()
getColorField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setColorField(java.lang.String colorField)
SlicedChartModelsetColorField in interface SlicedChartModel<T extends SlicedChartModelImpl>colorField - color field stringpublic java.util.List<Color> getColors()
getColors in interface HasColors<T extends SlicedChartModelImpl>public T setColors(java.util.List<Color> colors)
HasColors
If you use charts based on SlicedChartModelImpl 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 CoordinateChartModelImpl or StockChartModel 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. If not set the default value is
["#FF6600", "#FCD202", "#B0DE09",
"#0D8ECF", "#2A0CD0", "#CD0D74",
"#CC0000", "#00CC00", "#0000CC",
"#DDDDDD", "#999999", "#333333",
"#990000"]
If you use chart based on SlicedChartModelImpl (PieChart, FunnelChart). 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 not set default value is
["#FF0F00", "#FF6600", "#FF9E01", "#FCD202",
"#F8FF01", "#B0DE09", "#04D215", "#0D8ECF",
"#0D52D1", "#2A0CD0", "#8A0CCF", "#CD0D74",
"#754DEB", "#DDDDDD", "#999999", "#333333",
"#000000", "#57032A", "#CA9726", "#990000",
"#4B0C25"]
setColors in interface HasColors<T extends SlicedChartModelImpl>colors - list of colorspublic T addColors(Color... colors)
HasColorsaddColors in interface HasColors<T extends SlicedChartModelImpl>colors - list of colorspublic java.lang.String getDescriptionField()
getDescriptionField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setDescriptionField(java.lang.String descriptionField)
SlicedChartModelsetDescriptionField in interface SlicedChartModel<T extends SlicedChartModelImpl>descriptionField - description field stringpublic java.util.List<java.lang.Double> getGradientRatio()
getGradientRatio in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setGradientRatio(java.util.List<java.lang.Double> gradientRatio)
SlicedChartModelsetGradientRatio in interface SlicedChartModel<T extends SlicedChartModelImpl>gradientRatio - list of gradient ratiopublic T addGradientRatio(java.lang.Double... ratios)
SlicedChartModeladdGradientRatio in interface SlicedChartModel<T extends SlicedChartModelImpl>ratios - the ratiospublic java.lang.Double getGroupedAlpha()
getGroupedAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setGroupedAlpha(java.lang.Double groupedAlpha)
SlicedChartModelsetGroupedAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>groupedAlpha - opacity of the group slicepublic Color getGroupedColor()
getGroupedColor in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setGroupedColor(Color groupedColor)
SlicedChartModelsetGroupedColor in interface SlicedChartModel<T extends SlicedChartModelImpl>groupedColor - grouped colorpublic java.lang.String getGroupedDescription()
getGroupedDescription in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setGroupedDescription(java.lang.String groupedDescription)
SlicedChartModelsetGroupedDescription in interface SlicedChartModel<T extends SlicedChartModelImpl>groupedDescription - grouped description stringpublic java.lang.Boolean getGroupedPulled()
getGroupedPulled in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setGroupedPulled(java.lang.Boolean groupedPulled)
SlicedChartModelsetGroupedPulled in interface SlicedChartModel<T extends SlicedChartModelImpl>groupedPulled - grouped pulled optionpublic java.lang.String getGroupedTitle()
getGroupedTitle in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setGroupedTitle(java.lang.String groupedTitle)
SlicedChartModelsetGroupedTitle in interface SlicedChartModel<T extends SlicedChartModelImpl>groupedTitle - grouped title stringpublic java.lang.Double getGroupPercent()
getGroupPercent in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setGroupPercent(java.lang.Double groupPercent)
SlicedChartModelsetGroupPercent in interface SlicedChartModel<T extends SlicedChartModelImpl>groupPercent - the group percentpublic java.lang.Double getHideLabelsPercent()
getHideLabelsPercent in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setHideLabelsPercent(java.lang.Double hideLabelsPercent)
SlicedChartModelsetHideLabelsPercent in interface SlicedChartModel<T extends SlicedChartModelImpl>hideLabelsPercent - the hide labels percentpublic java.lang.Double getHoverAlpha()
getHoverAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setHoverAlpha(java.lang.Double hoverAlpha)
SlicedChartModelsetHoverAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>hoverAlpha - opacity of a hovered slicepublic java.lang.Boolean getLabelsEnabled()
getLabelsEnabled in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setLabelsEnabled(java.lang.Boolean labelsEnabled)
SlicedChartModelsetLabelsEnabled in interface SlicedChartModel<T extends SlicedChartModelImpl>labelsEnabled - labels enabled optionpublic java.lang.Double getLabelTickAlpha()
getLabelTickAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>label tick opacitypublic T setLabelTickAlpha(java.lang.Double labelTickAlpha)
SlicedChartModellabel tick opacity. Value range is 0 - 1. If not set the default value is 0.2.setLabelTickAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>labelTickAlpha - label tick opacitypublic Color getLabelTickColor()
getLabelTickColor in interface SlicedChartModel<T extends SlicedChartModelImpl>label tick colorpublic T setLabelTickColor(Color labelTickColor)
SlicedChartModellabel tick color. If not set the default value is #000000.setLabelTickColor in interface SlicedChartModel<T extends SlicedChartModelImpl>labelTickColor - label tick colorpublic java.lang.Integer getMarginBottom()
getMarginBottom in interface HasMargins<T extends SlicedChartModelImpl>public T setMarginBottom(java.lang.Integer marginBottom)
HasMargins
If is used for Legend default value is 0.
If is used for RadarChartModelImpl the default value is 0.
If is used for chart based on RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChartModelImpl (FunnelChart, PieChart) the default value is 10.
If is used for PanelsSettings the default value is 0.
setMarginBottom in interface HasMargins<T extends SlicedChartModelImpl>marginBottom - bottom spacingpublic java.lang.Integer getMarginLeft()
getMarginLeft in interface HasMargins<T extends SlicedChartModelImpl>public T setMarginLeft(java.lang.Integer marginLeft)
HasMargins
marginLeft will be ignored if chart is SerialChart or XYChartModelImpl and AbstractLegend.autoMargins
is true.
If is used for Legend the default value is 20.
If is used for RadarChartModelImpl the default value is 0.
If is used for chart based on RectangularChartModelImpl (GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChartModelImpl the default value is 0.
If is used for PanelsSettings the default value is 0.
setMarginLeft in interface HasMargins<T extends SlicedChartModelImpl>marginLeft - left-hand spacingpublic java.lang.Integer getMarginRight()
getMarginRight in interface HasMargins<T extends SlicedChartModelImpl>public T setMarginRight(java.lang.Integer marginRight)
HasMargins
marginRight will be ignored if chart is SerialChart or XYChartModelImpl and AbstractLegend.autoMargins
is true.
If is used for Legend the default value is 20.
If is used for RadarChartModelImpl the default value is 0.
If is used for chart based on RectangularChartModelImpl (GanttChart, SerialChart, XYChart) the default value is
20.
If is used for chart based on SlicedChartModelImpl (FunnelChart, PieChart) the default value is 0.
If is used for PanelsSettings the default value is 0.
setMarginRight in interface HasMargins<T extends SlicedChartModelImpl>marginRight - right-hand spacingpublic java.lang.Integer getMarginTop()
getMarginTop in interface HasMargins<T extends SlicedChartModelImpl>public T setMarginTop(java.lang.Integer marginTop)
HasMargins
If is used for Legend the default value is 0.
If is used for RadarChartModelImpl the default value is 0.
If is used for chart based on RectangularChartModelImpl
(GanttChart, SerialChart, XYChart) the default value is 20.
If is used for chart based on SlicedChartModelImpl the default value is 10.
If is used for PanelsSettings the default value is 0.
setMarginTop in interface HasMargins<T extends SlicedChartModelImpl>marginTop - top spacingpublic java.lang.Double getOutlineAlpha()
getOutlineAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setOutlineAlpha(java.lang.Double outlineAlpha)
SlicedChartModelsetOutlineAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>outlineAlpha - outline opacitypublic Color getOutlineColor()
getOutlineColor in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setOutlineColor(Color outlineColor)
SlicedChartModelsetOutlineColor in interface SlicedChartModel<T extends SlicedChartModelImpl>outlineColor - the outline colorpublic java.lang.Integer getOutlineThickness()
getOutlineThickness in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setOutlineThickness(java.lang.Integer outlineThickness)
SlicedChartModelsetOutlineThickness in interface SlicedChartModel<T extends SlicedChartModelImpl>outlineThickness - the outline thicknesspublic java.lang.String getPatternField()
getPatternField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setPatternField(java.lang.String patternField)
SlicedChartModelsetPatternField in interface SlicedChartModel<T extends SlicedChartModelImpl>patternField - pattern field stringpublic java.lang.String getPulledField()
getPulledField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setPulledField(java.lang.String pulledField)
SlicedChartModelsetPulledField in interface SlicedChartModel<T extends SlicedChartModelImpl>pulledField - pulled field stringpublic java.lang.Integer getPullOutDuration()
getPullOutDuration in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setPullOutDuration(java.lang.Integer pullOutDuration)
SlicedChartModelsetPullOutDuration in interface SlicedChartModel<T extends SlicedChartModelImpl>pullOutDuration - pull out duration in secondspublic AnimationEffect getPullOutEffect()
getPullOutEffect in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setPullOutEffect(AnimationEffect pullOutEffect)
SlicedChartModelsetPullOutEffect in interface SlicedChartModel<T extends SlicedChartModelImpl>pullOutEffect - the pull out effectpublic java.lang.Boolean getPullOutOnlyOne()
getPullOutOnlyOne in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setPullOutOnlyOne(java.lang.Boolean pullOutOnlyOne)
SlicedChartModelsetPullOutOnlyOne in interface SlicedChartModel<T extends SlicedChartModelImpl>pullOutOnlyOne - pull out only one optionpublic java.lang.Boolean getSequencedAnimation()
getSequencedAnimation in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setSequencedAnimation(java.lang.Boolean sequencedAnimation)
SlicedChartModelsetSequencedAnimation in interface SlicedChartModel<T extends SlicedChartModelImpl>sequencedAnimation - sequenced animation optionpublic java.lang.Double getStartAlpha()
getStartAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setStartAlpha(java.lang.Double startAlpha)
SlicedChartModelsetStartAlpha in interface SlicedChartModel<T extends SlicedChartModelImpl>startAlpha - initial opacity of all slicespublic java.lang.Double getStartDuration()
getStartDuration in interface HasStartEffect<T extends SlicedChartModelImpl>public T setStartDuration(java.lang.Double startDuration)
HasStartEffect
If you use AngularGaugeChartModelImpl default value is 1.
If you use charts based on CoordinateChartModel (GanttChart, RadarChart, SerialChart, XYChart) default
value is 0.
If you use chart based on SlicedChartModelImpl default value is 1.
setStartDuration in interface HasStartEffect<T extends SlicedChartModelImpl>startDuration - the start durationpublic AnimationEffect getStartEffect()
getStartEffect in interface HasStartEffect<T extends SlicedChartModelImpl>public T setStartEffect(AnimationEffect startEffect)
HasStartEffect
If you use AngularGaugeChartModelImpl animation effect will be applied for the arrow. If not set the default
value is EASE_IN_SINE.
If you use charts based on CoordinateChartModel (GanttChart, RadarChart, SerialChart, XYChart) default
value is ELASTIC.
If you use chart based on SlicedChartModelImpl default value is BOUNCE.
setStartEffect in interface HasStartEffect<T extends SlicedChartModelImpl>startEffect - the start effectpublic java.lang.String getTitleField()
getTitleField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setTitleField(java.lang.String titleField)
SlicedChartModelsetTitleField in interface SlicedChartModel<T extends SlicedChartModelImpl>titleField - title field stringpublic java.lang.String getUrlField()
getUrlField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setUrlField(java.lang.String urlField)
SlicedChartModelsetUrlField in interface SlicedChartModel<T extends SlicedChartModelImpl>urlField - the URL field stringpublic java.lang.String getUrlTarget()
getUrlTarget in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setUrlTarget(java.lang.String urlTarget)
SlicedChartModelsetUrlTarget in interface SlicedChartModel<T extends SlicedChartModelImpl>urlTarget - the URL target stringpublic java.lang.String getValueField()
getValueField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setValueField(java.lang.String valueField)
SlicedChartModelsetValueField in interface SlicedChartModel<T extends SlicedChartModelImpl>valueField - value field stringpublic java.lang.String getVisibleInLegendField()
getVisibleInLegendField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setVisibleInLegendField(java.lang.String visibleInLegendField)
SlicedChartModelsetVisibleInLegendField in interface SlicedChartModel<T extends SlicedChartModelImpl>visibleInLegendField - visible in legend field stringpublic JsFunction getLabelFunction()
getLabelFunction in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setLabelFunction(JsFunction labelFunction)
SlicedChartModelsetLabelFunction in interface SlicedChartModel<T extends SlicedChartModelImpl>labelFunction - label functionpublic java.lang.Integer getMaxLabelWidth()
getMaxLabelWidth in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setMaxLabelWidth(java.lang.Integer maxLabelWidth)
SlicedChartModelsetMaxLabelWidth in interface SlicedChartModel<T extends SlicedChartModelImpl>maxLabelWidth - maximum label widthpublic java.lang.String getClassNameField()
getClassNameField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setClassNameField(java.lang.String classNameField)
SlicedChartModelAbstractChart.addClassNames is enabled, the slice element will have this class name set.setClassNameField in interface SlicedChartModel<T extends SlicedChartModelImpl>classNameField - class name field stringpublic java.lang.Boolean getShowZeroSlices()
getShowZeroSlices in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setShowZeroSlices(java.lang.Boolean showZeroSlices)
SlicedChartModelsetShowZeroSlices in interface SlicedChartModel<T extends SlicedChartModelImpl>showZeroSlices - show zero slices optionpublic java.lang.String getAccessibleLabel()
getAccessibleLabel in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setAccessibleLabel(java.lang.String accessibleLabel)
SlicedChartModeltabIndex is set to some number). Text is added as
aria-label tag. Note, not all screen readers and browsers support this. If not set the default value is
"[[title]]: [[percents]]% [[value]] [[description]]".setAccessibleLabel in interface SlicedChartModel<T extends SlicedChartModelImpl>accessibleLabel - accessible label textpublic Color getLabelColorField()
getLabelColorField in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setLabelColorField(Color labelColorField)
SlicedChartModelsetLabelColorField in interface SlicedChartModel<T extends SlicedChartModelImpl>labelColorField - label color field stringpublic java.lang.Integer getTabIndex()
getTabIndex in interface SlicedChartModel<T extends SlicedChartModelImpl>public T setTabIndex(java.lang.Integer tabIndex)
SlicedChartModelaccessibleLabel. Note, not all browsers and readers support this.setTabIndex in interface SlicedChartModel<T extends SlicedChartModelImpl>tabIndex - the tab indexpublic java.util.List<java.lang.String> getWiredFields()
getWiredFields in class AbstractChart<T extends SlicedChartModelImpl>DataItem that are bound to the chart