Methods
-
addBehavior(ChartBehavior<D> behavior)
→ void
-
Attaches a behavior to the chart.
-
addGestureListener(GestureListener listener)
→ GestureListener
-
Add a GestureListener to this chart.
-
addLifecycleListener(LifecycleListener<D> listener)
→ LifecycleListener<D>
-
-
addSeriesRenderer(SeriesRenderer<D> renderer)
→ void
-
-
addView(LayoutView view)
→ void
-
-
configurationChanged()
→ void
-
Finish configuring components that require context and graphics factory.
-
configureSeries(List<MutableSeries<D>> seriesList)
→ void
-
Preprocess series to assign missing color functions.
-
createBehavior(BehaviorCreator creator)
→ ChartBehavior<D>
-
Helper method to create a behavior with congruent types.
-
destroy()
→ void
-
Called to free up any resources due to chart going away.
-
draw(List<Series<dynamic, D>> seriesList)
→ void
-
-
drawInternal(List<MutableSeries<D>> seriesList, {bool? skipAnimation, bool? skipLayout})
→ void
-
-
fireOnAnimationComplete()
→ void
-
-
fireOnAxisConfigured()
→ void
-
-
fireOnDraw(List<MutableSeries<D>> seriesList)
→ void
-
-
fireOnPostprocess(List<MutableSeries<D>> seriesList)
→ void
-
-
fireOnPostrender(ChartCanvas canvas)
→ void
-
-
fireOnPreprocess(List<MutableSeries<D>> seriesList)
→ void
-
-
getAllDatumDetails({bool includeOverlaySeries = false})
→ List<DatumDetails<D>>
-
Retrieves the datum details for all data on the chart.
-
getDatumDetails(SelectionModelType type)
→ List<DatumDetails<D>>
-
Returns a list of datum details from selection model of
type
.
-
getNearestDatumDetailPerSeries(Point<double> drawAreaPoint, bool selectAcrossAllDrawAreaComponents)
→ List<DatumDetails<D>>
-
Retrieves the datum details that are nearest to the given
drawAreaPoint
.
-
getSelectedDatumDetails(SelectionModelType selectionModelType)
→ List<DatumDetails<D>>
-
Retrieves the datum details for the current chart selection.
-
getSelectionModel(SelectionModelType type)
→ MutableSelectionModel<D>
-
Returns MutableSelectionModel for the given type. Lazy creates one upon first
request.
-
getSeriesRenderer(String? rendererId)
→ SeriesRenderer<D>
-
-
init(ChartContext context, GraphicsFactory graphicsFactory)
→ void
-
-
layout(int width, int height)
→ void
-
-
layoutInternal(int width, int height)
→ void
-
-
makeDefaultRenderer()
→ SeriesRenderer<D>
-
-
makeSeries(Series<dynamic, D> series)
→ MutableSeries<D>
-
-
markChartDirty()
→ void
-
Marks the chart as dirty.
-
measure(int width, int height)
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onPostLayout(Map<String, List<MutableSeries<D>>> rendererToSeriesList)
→ void
-
-
onSkipLayout()
→ void
-
-
paint(ChartCanvas canvas)
→ void
-
-
pointWithinRenderer(Point<double> chartPosition)
→ bool
-
-
preprocessSeries(List<MutableSeries<D>> seriesList)
→ Map<String, List<MutableSeries<D>>>
-
Preprocess series to allow stacking and other mutations.
-
redraw({bool skipAnimation = false, bool skipLayout = false})
→ void
-
Redraws and re-lays-out the chart using the previously rendered layout
dimensions.
-
registerTappable(ChartBehavior<D> behavior)
→ void
-
Tells the chart that this behavior responds to tap events.
-
removeBehavior(ChartBehavior<D>? behavior)
→ bool
-
Removes a behavior from the chart.
-
removeGestureListener(GestureListener listener)
→ void
-
Remove a GestureListener from this chart.
-
removeLifecycleListener(LifecycleListener<D> listener)
→ bool
-
-
removeView(LayoutView view)
→ void
-
-
resetChartDirtyFlag()
→ void
-
Resets the chart dirty flag to
false
.
-
toString()
→ String
-
A string representation of this object.
inherited
-
unregisterTappable(ChartBehavior<D> behavior)
→ void
-
Tells the chart that this behavior no longer responds to tap events.
-
updateConfig(LayoutConfig layoutConfig)
→ void
-
Updates the layout configuration used inside the layout manager.
-
withinDrawArea(Point<num> point)
→ bool
-
Returns whether or not
point
is within the draw area bounds.