Modifier | Constructor and Description |
---|---|
protected |
Chart(Context2dItem context,
NativeObject configuration)
Builds CHART object at CHART.JS level.
This constructor MUST be empty. |
Modifier and Type | Method and Description |
---|---|
String |
getCharbaId()
Returns the CHARBA ID, set to the chart.
|
IsChart |
getChart()
Returns the CHARBA chart or
null if CHARBA id is not present in the CAHRT.JS chart options. |
static ArrayChart |
getInstances()
Returns the
instances property by native object. |
protected Chart(Context2dItem context, NativeObject configuration)
context
- represents a flat cartesian surface whose origin (0,0) is at the top left corner, with the coordinate space having x values increasing when going right, and y
values increasing when going down.configuration
- configuration of CHART (native object).@JsProperty public static ArrayChart getInstances()
instances
property by native object.instances
property by native object.@JsOverlay public String getCharbaId()
Id
@JsOverlay public IsChart getChart()
null
if CHARBA id is not present in the CAHRT.JS chart options.null
if CHARBA id is not present in the CAHRT.JS chart options