ChartOptions class abstract
Copyright (c) 2017 ~ present NAVER Corp. billboard.js project is licensed under the MIT license
- Annotations
-
- @anonymous
- @JS()
Constructors
- ChartOptions()
-
factory
Properties
- area ↔ dynamic
-
getter/setter pair
- axis ↔ Axis
-
getter/setter pair
- background ↔ dynamic
-
Set chart background.
getter/setter pair
- bar ↔ dynamic
-
getter/setter pair
- bindto ↔ dynamic
-
Specify the CSS selector or the element which the chart will be set to. D3 selection object can be specified also.
If other chart is set already, it will be replaced with the new one (only one chart can be set in one element).
getter/setter pair
- bubble ↔ dynamic
-
getter/setter pair
- clipPath ↔ bool
-
Set 'clip-path' attribute for chart element.
When is false, chart node element is positioned after the axis node in DOM tree hierarchy.
Is to make chart element positioned over axis element.
getter/setter pair
- color ↔ dynamic
-
getter/setter pair
- data ↔ Data
-
getter/setter pair
- donut ↔ dynamic
-
getter/setter pair
- gauge ↔ dynamic
-
getter/setter pair
- grid ↔ Grid
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- interaction ↔ dynamic
-
getter/setter pair
- legend ↔ LegendOptions
-
getter/setter pair
- line ↔ dynamic
-
getter/setter pair
- onafterinit ← void Function()
-
Set a callback to execute after the chart is initialized
no getter
- onbeforeinit ← void Function()
-
Set a callback to execute before the chart is initialized
no getter
- oninit ← void Function()
-
Set a callback to execute when the chart is initialized.
no getter
- onout ← void Function()
-
Set a callback to execute when mouse/touch leaves the chart.
no getter
- onover ← void Function()
-
Set a callback to execute when mouse/touch enters the chart.
no getter
- onrendered ← void 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.
no getter
- onresize ← void Function()
-
Set a callback to execute when user resizes the screen.
no getter
- onresized ← void Function()
-
Set a callback to execute when screen resize finished.
no getter
- padding ↔ dynamic
-
getter/setter pair
- pie ↔ dynamic
-
getter/setter pair
-
plugins
↔ List<
Plugin> -
Set plugins
getter/setter pair
- point ↔ PointOptions
-
getter/setter pair
- radar ↔ dynamic
-
getter/setter pair
-
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.
getter/setter pair
- render ↔ dynamic
-
Control the render timing
getter/setter pair
- resize ↔ dynamic
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scatter ↔ dynamic
-
getter/setter pair
- size ↔ dynamic
-
getter/setter pair
- spline ↔ dynamic
-
getter/setter pair
- subchart ↔ SubchartOptions
-
getter/setter pair
- title ↔ dynamic
-
getter/setter pair
- tooltip ↔ TooltipOptions
-
getter/setter pair
- transition ↔ dynamic
-
getter/setter pair
- zoom ↔ ZoomOptions
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited