Chart<S extends Comparable, C extends Comparable, T extends ChartModel<S, C>> class abstract

Implementers

Constructors

Chart()

Properties

accessibility ChartAccessibility?
Returns accessibility of chart
getter/setter pair
chartOptions ChartOptions?
Returns chartOptions of chart
getter/setter pair
chartSeries List<ChartSeries>
An array of all the chart's series.
no setter
element Element
no setter
hashCode int
The hash code for this object.
no setterinherited
height ↔ dynamic
Returns height of chart
getter/setter pair
isDirtyBox bool
no getter
isDirtyLegend bool
no getter
legend ChartLegend?
Returns legend of chart
getter/setter pair
model ↔ T?
Returns model
getter/setter pair
plotOptions ChartPlotOptions?
Returns plotOptions of chart
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
series List<ChartDataSets>
no setter
subtitle ChartTitle?
Returns subtitle of chart
getter/setter pair
title ChartTitle?
Returns title of chart
getter/setter pair
tooltip ChartTooltip?
Returns tooltip of chart
getter/setter pair
width ↔ dynamic
Returns width of chart
getter/setter pair
xAxis ChartXAxis?
Returns xAxis of chart
getter/setter pair
yAxis ChartYAxis?
Returns yAxis of chart
getter/setter pair

Methods

addSeries(ChartDataSets options, [bool redraw = true, bool animation = true]) ChartSeries?
Add a series to the chart after render time. Note that this method should never be used when adding data synchronously at chart render time, as it adds expense to the calculations and rendering. When adding data at the same time as the chart is initialized, add the series as a configuration option instead. With multiple axes, the offset is dynamically adjusted.
at<T>(List<T>? list, int index) → T?
destroy() → void
Removes the chart and purges memory. This method should be called before writing a new chart into the same container. It is called internally on window unload to prevent leaks.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redraw() → void
reflow() → void
Reflows the chart to its container. By default, the chart reflows automatically to its container following a window.resize event, as per the chart.reflow option. However, there are no reliable events for div resize, so if the container is resized without a window resize event, this must be called explicitly.
render() → void
Render chart with chart model
setSize([num width, num height, AnimationOptions animation]) → void
Resize the chart to a given width and height. In order to set the width only, the height argument may be skipped. To set the height only, pass undefined for the width.
toString() String
A string representation of this object.
inherited
update() → void
update chart's data and redraw
updatePoint(int seriesIndex, int pointIndex, num value, [bool redraw = true, bool animation = true]) → void

Operators

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