public abstract class ChartOptions extends Object implements Serializable
Constructor and Description |
---|
ChartOptions() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAnimation()
Gets the animation.
|
String |
getAnimationEasing()
Gets the animation easing.
|
Integer |
getAnimationSteps()
Gets the animation steps.
|
String |
getCustomTooltips() |
Boolean |
getMaintainAspectRatio() |
String |
getMultiTooltipTemplate() |
String |
getOnAnimationComplete()
Gets the javascript function that fires on animation complete.
|
String |
getOnAnimationProgress() |
Boolean |
getResponsive() |
Boolean |
getScaleBeginAtZero() |
String |
getScaleFontColor()
Gets the scale font color.
|
String |
getScaleFontFamily()
Gets the scale font family.
|
Integer |
getScaleFontSize()
Gets the scale font size.
|
String |
getScaleFontStyle()
Gets the scale font style.
|
Boolean |
getScaleIntegersOnly() |
String |
getScaleLabel()
Gets the scale label.
|
String |
getScaleLineColor()
Gets the scale line color.
|
Integer |
getScaleLineWidth()
Gets the scale line width.
|
Boolean |
getScaleOverride()
Gets the scale override.
|
Boolean |
getScaleShowLabels()
Gets the scale show labels.
|
Integer |
getScaleStartValue()
Gets the scale start value.
|
Integer |
getScaleSteps()
Gets the scale steps.
|
Integer |
getScaleStepWidth()
Gets the scale step width.
|
Boolean |
getShowScale() |
Boolean |
getShowTooltips() |
Integer |
getTooltipCaretSize() |
Integer |
getTooltipCornerRadius() |
String[] |
getTooltipEvents() |
String |
getTooltipFillColor() |
String |
getTooltipFontColor() |
String |
getTooltipFontFamily() |
Integer |
getTooltipFontSize() |
String |
getTooltipFontStyle() |
String |
getTooltipTemplate() |
String |
getTooltipTitleFontColor() |
String |
getTooltipTitleFontFamily() |
Integer |
getTooltipTitleFontSize() |
String |
getTooltipTitleFontStyle() |
Integer |
getTooltipXOffset() |
Integer |
getTooltipXPadding() |
Integer |
getTooltipYPadding() |
boolean |
isResponsive()
Tests whether this chart is responsive or not.
|
void |
setAnimation(Boolean animation)
Sets the animation.
|
void |
setAnimationEasing(String animationEasing)
Sets the animation easing.
|
void |
setAnimationSteps(Integer animationSteps)
Sets the animation steps.
|
void |
setCustomTooltips(String customTooltips) |
void |
setMaintainAspectRatio(Boolean maintainAspectRatio) |
void |
setMultiTooltipTemplate(String multiTooltipTemplate) |
void |
setOnAnimationComplete(String onAnimationComplete)
Sets the onAnimationComplete javascript function.
|
void |
setOnAnimationProgress(String onAnimationProgress) |
void |
setResponsive(boolean responsive)
Sets the responsive option for this chart.
|
void |
setResponsive(Boolean responsive) |
void |
setScaleBeginAtZero(Boolean scaleBeginAtZero) |
void |
setScaleFontColor(String scaleFontColor)
Sets the scale font color.
|
void |
setScaleFontFamily(String scaleFontFamily)
Sets the scale font family.
|
void |
setScaleFontSize(Integer scaleFontSize)
Sets the scale font size.
|
void |
setScaleFontStyle(String scaleFontStyle)
Sets the scale font style.
|
void |
setScaleIntegersOnly(Boolean scaleIntegersOnly) |
void |
setScaleLabel(String scaleLabel)
Sets the scale label.
|
void |
setScaleLineColor(String scaleLineColor)
Sets the scale line color.
|
void |
setScaleLineWidth(Integer scaleLineWidth)
Sets the scale line width.
|
void |
setScaleOverride(Boolean scaleOverride)
Sets the scale override.
|
void |
setScaleShowLabels(Boolean scaleShowLabels)
Sets the scale show labels.
|
void |
setScaleStartValue(Integer scaleStartValue)
Sets the scale start value.
|
void |
setScaleSteps(Integer scaleSteps)
Sets the scale steps.
|
void |
setScaleStepWidth(Integer scaleStepWidth)
Sets the scale step width.
|
void |
setShowScale(Boolean showScale) |
void |
setShowTooltips(Boolean showTooltips) |
void |
setTooltipCaretSize(Integer tooltipCaretSize) |
void |
setTooltipCornerRadius(Integer tooltipCornerRadius) |
void |
setTooltipEvents(String[] tooltipEvents) |
void |
setTooltipFillColor(String tooltipFillColor) |
void |
setTooltipFontColor(String tooltipFontColor) |
void |
setTooltipFontFamily(String tooltipFontFamily) |
void |
setTooltipFontSize(Integer tooltipFontSize) |
void |
setTooltipFontStyle(String tooltipFontStyle) |
void |
setTooltipTemplate(String tooltipTemplate) |
void |
setTooltipTitleFontColor(String tooltipTitleFontColor) |
void |
setTooltipTitleFontFamily(String tooltipTitleFontFamily) |
void |
setTooltipTitleFontSize(Integer tooltipTitleFontSize) |
void |
setTooltipTitleFontStyle(String tooltipTitleFontStyle) |
void |
setTooltipXOffset(Integer tooltipXOffset) |
void |
setTooltipXPadding(Integer tooltipXPadding) |
void |
setTooltipYPadding(Integer tooltipYPadding) |
public String getCustomTooltips()
public void setCustomTooltips(String customTooltips)
public Boolean getAnimation()
public void setAnimation(Boolean animation)
animation
- decides whether to animate the chart (default is true)public Integer getAnimationSteps()
public void setAnimationSteps(Integer animationSteps)
animationSteps
- the number of animation steps (default is 60)public String getAnimationEasing()
public void setAnimationEasing(String animationEasing)
animationEasing
- the animation easing effect (default is "easeOutQuart")public String getOnAnimationComplete()
public void setOnAnimationComplete(String onAnimationComplete)
onAnimationComplete
- a function, that fires when the animation is completepublic Boolean getScaleOverride()
public void setScaleOverride(Boolean scaleOverride)
scaleOverride
- decides if you want to override with a hard coded scalepublic Integer getScaleSteps()
public void setScaleSteps(Integer scaleSteps)
scaleSteps
- the number of steps in a hard coded scale (required if scaleOverride == true, default is null).public Integer getScaleStepWidth()
public void setScaleStepWidth(Integer scaleStepWidth)
scaleStepWidth
- the value jump in the hard coded scale (required if scaleOverride == true, default is
null).public Integer getScaleStartValue()
public void setScaleStartValue(Integer scaleStartValue)
scaleStartValue
- the scale starting value (required if scaleOverride == true, default is null).public String getScaleLineColor()
public void setScaleLineColor(String scaleLineColor)
scaleLineColor
- color of the scale linepublic Integer getScaleLineWidth()
public void setScaleLineWidth(Integer scaleLineWidth)
scaleLineWidth
- the pixel width of the scale linepublic Boolean getScaleShowLabels()
public void setScaleShowLabels(Boolean scaleShowLabels)
scaleShowLabels
- decides whether to show labels on the scalepublic String getScaleLabel()
public void setScaleLabel(String scaleLabel)
scaleLabel
- an interpolated js string that can access value.public String getScaleFontFamily()
public void setScaleFontFamily(String scaleFontFamily)
scaleFontFamily
- scale label font declaration for the scale label (default is
"'Arial'").public Integer getScaleFontSize()
public void setScaleFontSize(Integer scaleFontSize)
scaleFontSize
- the scale label font size in pixelspublic String getScaleFontStyle()
public void setScaleFontStyle(String scaleFontStyle)
scaleFontStyle
- the scale label font weight style (default is "normal").public String getScaleFontColor()
public void setScaleFontColor(String scaleFontColor)
scaleFontColor
- the scale label font color (default is "#666").public Boolean getShowScale()
public void setShowScale(Boolean showScale)
public Boolean getScaleIntegersOnly()
public void setScaleIntegersOnly(Boolean scaleIntegersOnly)
public Boolean getScaleBeginAtZero()
public void setScaleBeginAtZero(Boolean scaleBeginAtZero)
public Boolean getResponsive()
public void setResponsive(Boolean responsive)
public Boolean getMaintainAspectRatio()
public void setMaintainAspectRatio(Boolean maintainAspectRatio)
public Boolean getShowTooltips()
public void setShowTooltips(Boolean showTooltips)
public String[] getTooltipEvents()
public void setTooltipEvents(String[] tooltipEvents)
public String getTooltipFillColor()
public void setTooltipFillColor(String tooltipFillColor)
public String getTooltipFontFamily()
public void setTooltipFontFamily(String tooltipFontFamily)
public Integer getTooltipFontSize()
public void setTooltipFontSize(Integer tooltipFontSize)
public String getTooltipFontStyle()
public void setTooltipFontStyle(String tooltipFontStyle)
public String getTooltipFontColor()
public void setTooltipFontColor(String tooltipFontColor)
public String getTooltipTitleFontFamily()
public void setTooltipTitleFontFamily(String tooltipTitleFontFamily)
public Integer getTooltipTitleFontSize()
public void setTooltipTitleFontSize(Integer tooltipTitleFontSize)
public String getTooltipTitleFontStyle()
public void setTooltipTitleFontStyle(String tooltipTitleFontStyle)
public String getTooltipTitleFontColor()
public void setTooltipTitleFontColor(String tooltipTitleFontColor)
public Integer getTooltipYPadding()
public void setTooltipYPadding(Integer tooltipYPadding)
public Integer getTooltipXPadding()
public void setTooltipXPadding(Integer tooltipXPadding)
public Integer getTooltipCaretSize()
public void setTooltipCaretSize(Integer tooltipCaretSize)
public Integer getTooltipCornerRadius()
public void setTooltipCornerRadius(Integer tooltipCornerRadius)
public Integer getTooltipXOffset()
public void setTooltipXOffset(Integer tooltipXOffset)
public String getTooltipTemplate()
public void setTooltipTemplate(String tooltipTemplate)
public String getMultiTooltipTemplate()
public void setMultiTooltipTemplate(String multiTooltipTemplate)
public String getOnAnimationProgress()
public void setOnAnimationProgress(String onAnimationProgress)
public boolean isResponsive()
public void setResponsive(boolean responsive)
responsive
- the responsive option value.Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.