public final class ChartNode extends JavaScriptObjectContainer
Constructor and Description |
---|
ChartNode(GenericJavaScriptObject javaScriptObject)
Wraps the CHART.JS java script object.
|
Modifier and Type | Method and Description |
---|---|
double |
getAspectRatio()
Returns the aspect ratio.
|
int |
getBorderWidth()
Returns the border width value.
|
ChartAreaItem |
getChartArea()
Returns the chart area item.
|
double |
getCurrentDevicePixelRatio()
Returns the current device pixel ratio.
|
int |
getHeight()
Returns the height in pixel.
|
int |
getId()
Returns the CHART JS chart ID.
|
double |
getInnerRadius()
Returns the inner radius value.
|
LegendNode |
getLegend()
Returns the legend item.
|
int |
getOffsetX()
Returns the offset X value.
|
int |
getOffsetY()
Returns the offset Y value.
|
OptionsNode |
getOptions()
Returns the options item.
|
double |
getOuterRadius()
Returns the outer radius value.
|
double |
getRadiusLength()
Returns the radius length value.
|
ScalesNode |
getScales()
Returns the scales item.
|
TitleNode |
getTitle()
Returns the title item.
|
TooltipNode |
getTooltip()
Returns the tooltip item.
|
int |
getWidth()
Returns the width in pixel.
|
boolean |
isAnimating()
Returns if the chart is animating or not.
|
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
public ChartNode(GenericJavaScriptObject javaScriptObject)
javaScriptObject
- CHART.JS java script objectpublic OptionsNode getOptions()
public LegendNode getLegend()
public ScalesNode getScales()
public ChartAreaItem getChartArea()
public TitleNode getTitle()
public TooltipNode getTooltip()
public int getId()
UndefinedValues.INTEGER
.public int getWidth()
UndefinedValues.INTEGER
.public int getHeight()
UndefinedValues.INTEGER
.public double getAspectRatio()
UndefinedValues.DOUBLE
.public double getCurrentDevicePixelRatio()
UndefinedValues.DOUBLE
.public boolean isAnimating()
UndefinedValues.BOOLEAN
.public int getBorderWidth()
UndefinedValues.INTEGER
.public double getOuterRadius()
UndefinedValues.DOUBLE
.public double getInnerRadius()
UndefinedValues.DOUBLE
.public double getRadiusLength()
UndefinedValues.DOUBLE
.public int getOffsetX()
UndefinedValues.INTEGER
.public int getOffsetY()
UndefinedValues.INTEGER
.