Chart class

Base class for all charts.

Implementers

Constructors

Chart(Element container)
Creates a chart given a container. [...]

Properties

animating bool
@Deprecated('Use [isAnimating] instead'), read-only
container Element
The element that contains this chart.
final
dataTable DataTable
The data table that stores chart data.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
isAnimating bool
Whether the chart is animating.
read-only
isInteractive bool
Whether the chart is interactive. [...]
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
Disposes of resources used by this chart. The chart will become unusable until draw is called again. [...]
draw(DataTable dataTable, [Map options]) → void
Draws the chart given a data table dataTable and an optional set of options options.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
resize([bool forceRedraw = false]) → void
Resizes the chart to fit the new size of the container.
toString() String
A string representation of this object. [...]
inherited
update([Map options]) → void
Updates the chart. [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited