ChartEngineApexCharts class

ApexCharts (v3.26.0) Engine.

Automatically loads apexcharts.js using AMDJS.

Inheritance

Constructors

ChartEngineApexCharts()

Properties

colorGenerator ColorGenerator
The color generator for ChartData that doesn't set its own colors.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isLoaded bool
no setteroverride
onLoad → EventStream<LoadController>
onLoad event handler.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
no setteroverride

Methods

asDivElement(Element element) DivElement
Ensures that DOM element to render is a div. If not will insert a div inside the element and use it.
checkLoaded() → void
Checks if engine is loaded.
inherited
checkRenderParameters(Element output, ChartData chartData) → void
inherited
getColorGeneratorAs<G extends ColorGenerator>() → G
inherited
load() Future<bool>
Loads ApexCharts (apexcharts.amd.js) and engine wrapper.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Element output, ChartData chartData) RenderedChart?
Renders at output a chartData, selecting the correct render method.
inherited
renderAsync(Element output, ChartData chartData) Future<RenderedChart?>
Same as render, but async.
inherited
renderBarChart(Element output, ChartSeries chartData) RenderedApexCharts
Renders a Bar Chart:
override
renderBarChartAsync(Element output, ChartSeries chartData) Future<RenderedChart>
Same as renderBarChart, but async.
inherited
renderFinancialChart(Element output, ChartTimeSeries chartSeries, {bool? ohlc, bool? candlestick}) RenderedApexCharts
Renders financial chart.
override
renderGaugeChart(Element output, ChartSet chartData) RenderedApexCharts
Renders a Horizontal Bar Chart:
override
renderGaugeChartAsync(Element output, ChartSet chartData) Future<RenderedChart>
Same as renderGaugeChart, but async.
inherited
renderHorizontalBarChart(Element output, ChartSeries chartData) RenderedApexCharts
Renders a Horizontal Bar Chart:
override
renderHorizontalBarChartAsync(Element output, ChartSeries chartData) Future<RenderedChart>
Same as renderHorizontalBarChart, but async.
inherited
renderLineChart(Element output, ChartSeries chartData) RenderedApexCharts
Renders a Line Chart:
override
renderLineChartAsync(Element output, ChartSeries chartData) Future<RenderedChart>
Same as renderLineChart, but async.
inherited
renderScatterChart(Element output, ChartSeriesPair chartSeries) RenderedApexCharts
Renders a Scatter Chart with X,Y pairs:
override
renderScatterChartAsync(Element output, ChartSeriesPair chartSeries) Future<RenderedChart>
Same as renderScatterChart, but async.
inherited
renderScatterTimedChart(Element output, ChartTimeSeries chartSeries) RenderedApexCharts
Renders a Scatter Chart Timed with DateTime values in X axis:
override
renderScatterTimedChartAsync(Element output, ChartTimeSeries chartSeries) Future<RenderedChart>
Same as renderScatterTimedChart, but async.
inherited
renderTimeSeriesChart(Element output, ChartTimeSeries chartData) RenderedApexCharts
Renders a Time Series using Line Chart:
override
renderTimeSeriesChartAsync(Element output, ChartTimeSeries chartData) Future<RenderedChart>
Same as renderTimeSeriesChart, but async.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

ENGINE_WRAPPER_PATH String
final
JS_PATH String
final
JS_WRAPPER_GLOBAL_NAME String
final
PATH String
final
VERSION String
final