SeriesRenderer<D> class abstract

A series renderer draws one or more series of data onto a chart canvas.

Constructors

SeriesRenderer()

Properties

componentBounds Rectangle<int>?
Bounding box for drawing this component.
no setterinherited
graphicsFactory GraphicsFactory?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
isSeriesRenderer bool
Whether or not this component is a series renderer that draws series data.
no setterinherited
layoutConfig → LayoutViewConfig
Layout params for this component.
no setterinherited
rendererId String
Unique identifier for this renderer. Any Series on a chart with a matching rendererIdKey will be drawn by this renderer.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbolRenderer ↔ SymbolRenderer?
Symbol renderer for this renderer.
getter/setter pair

Methods

addPositionToDetailsForSeriesDatum(DatumDetails<D> details, SeriesDatum<D> seriesDatum) → DatumDetails<D>
Adds chart position data to details.
configureDomainAxes(List<MutableSeries<D>> seriesList) → void
Adds the domain values for the given series to the chart's domain axis.
configureMeasureAxes(List<MutableSeries<D>> seriesList) → void
Adds the measure values for the given series to the chart's measure axes.
configureSeries(List<MutableSeries<D>> seriesList) → void
Performs basic configuration for the series, before it is pre-processed.
getDetailsForSeriesDatum(SeriesDatum<D> seriesDatum) → DatumDetails<D>
Get an expanded set of processed DatumDetails for a given SeriesDatum.
getNearestDatumDetailPerSeries(Point<double> chartPoint, bool byDomain, Rectangle<int>? boundsOverride, {bool selectOverlappingPoints = false, bool selectExactEventLocation = false}) List<DatumDetails<D>>
Gets a list of the data from each series that is closest to a given point.
layout(Rectangle<int> componentBounds, Rectangle<int> drawAreaBounds) → void
Layout this component.
inherited
measure(int maxWidth, int maxHeight) → ViewMeasuredSizes?
Measure and return the size of this component.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onAttach(BaseChart<D> chart) → void
Handles any setup of the renderer that needs to be deferred until it is attached to a chart.
onDetach(BaseChart<D> chart) → void
Handles any clean-up of the renderer that needs to be performed when it is detached from a chart.
paint(ChartCanvas canvas, double animationPercent) → void
Renders the series data on the canvas, using the data generated during the update call.
preprocessSeries(List<MutableSeries<D>> seriesList) → void
Pre-calculates some details for the series that will be needed later during the drawing phase.
toString() String
A string representation of this object.
inherited
update(List<ImmutableSeries<D>> seriesList, bool isAnimating) → void
Generates rendering data needed to paint the data on the chart.

Operators

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

Constants

defaultRendererId → const String