ChartConfiguration class
Properties
-
area
↔ dynamic
-
read / write
-
axis
↔ Axis
-
read / write
-
bar
↔ dynamic
-
read / write
-
bindto
↔ dynamic
-
The CSS selector or the element which the chart will be set to. D3 selection object can be specified. If other chart is set already, it will be replaced with the new one (only one chart
can be set in one element).
If this option is not specified, the chart will be generated but not be set. Instead, we can access the element by chart.element and set it by ourselves.
Note: When chart is not binded, c3 starts observing if chart.element is binded by MutationObserver. In this case, polyfill is required in IE9 and IE10 becuase they do not support
MutationObserver. On the other hand, if chart always will be binded, polyfill will not be required because MutationObserver will never be called.
read / write
-
color
↔ dynamic
-
read / write
-
data
↔ Data
-
read / write
-
donut
↔ dynamic
-
read / write
-
gauge
↔ dynamic
-
read / write
-
grid
↔ Grid
-
read / write
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
interaction
↔ dynamic
-
read / write
-
legend
↔ LegendOptions
-
read / write
-
line
↔ dynamic
-
read / write
-
oninit
↔ Function
-
Set a callback to execute when the chart is initialized.
read / write
-
onmouseout
↔ Function
-
Set a callback to execute when mouse leaves the chart.
read / write
-
onmouseover
↔ Function
-
Set a callback to execute when mouse enters the chart.
read / write
-
onrendered
↔ Function
-
Set a callback which is executed when the chart is rendered. Basically, this callback will be called in each time when the chart is redrawed.
read / write
-
onresize
↔ Function
-
Set a callback to execute when user resizes the screen.
read / write
-
onresized
↔ Function
-
Set a callback to execute when screen resize finished.
read / write
-
padding
↔ dynamic
-
read / write
-
pie
↔ dynamic
-
read / write
-
point
↔ PointOptions
-
read / write
-
regions
↔ List<RegionOptions>
-
Show rectangles inside the chart.
This option accepts array including object that has axis, start, end and class. The keys start, end and class are optional.
axis must be x, y or y2. start and end should be the value where regions start and end. If not specified, the edge values will be used. If timeseries x axis, date string, Date object and
unixtime integer can be used. If class is set, the region element will have it as class.
read / write
-
resize
↔ dynamic
-
read / write
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
-
size
↔ dynamic
-
read / write
-
spline
↔ dynamic
-
read / write
-
subchart
↔ SubchartOptions
-
read / write
-
tooltip
↔ TooltipOptions
-
read / write
-
transition
↔ dynamic
-
read / write
-
zoom
↔ ZoomOptions
-
read / write
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited
Operators
-
operator ==(Object other)
→ bool
-
The equality operator. [...]
inherited