flutter library
Classes
-
ArcLabelDecorator<
D> - Renders labels for arc renderers.
- ArcLabelLeaderLineStyleSpec
- Style configuration for leader lines.
-
ArcRenderer<
D> -
ArcRendererConfig<
D> - Configuration for an ArcRenderer.
- AutoDateTimeTickFormatterSpec
- TickFormatterSpec that automatically chooses the appropriate level of formatting based on the tick stepSize. Each level of date granularity has its own TimeFormatterSpec used to specify the formatting strings at that level.
- AutoDateTimeTickProviderSpec
-
TickProviderSpec
that sets up the automatically assigned time ticks based on the extents of your data. -
Axis<
D> -
AxisSpec<
D> - BarChart
-
BarLabelDecorator<
D> - BarLaneRendererConfig
- Configuration for a bar lane renderer.
-
BarRenderer<
D> - Renders series data as a series of bars.
-
BarRendererConfig<
D> - Configuration for a bar renderer.
-
BarTargetLineRenderer<
D> - Renders series data as a series of bar target lines.
-
BarTargetLineRendererConfig<
D> - Configuration for a bar target line renderer.
-
BaseCartesianRenderer<
D> -
BaseChart<
D> - BasicDateTimeTickFormatterSpec
-
A DateTimeTickFormatterSpec that accepts a
DateFormat
or aDateTimeFormatterFunction
. - BasicNumericTickFormatterSpec
- BasicNumericTickProviderSpec
- BasicOrdinalTickFormatterSpec
- BasicOrdinalTickProviderSpec
- BucketingAxisSpec
- A numeric AxisSpec that positions all values beneath a certain threshold into a reserved space on the axis range. The label for the bucket line will be drawn in the middle of the bucket range, rather than aligned with the gridline for that value's position on the scale.
- BucketingNumericTickProviderSpec
-
CartesianChart<
D> -
ChartBehavior<
D> - Flutter wrapper for chart behaviors.
- ChartCanvas
- ChartContext
-
ChartTitle<
D> - Chart behavior that adds a ChartTitle widget to a chart.
- CircleSymbolRenderer
- Circle symbol renderer.
- Color
- ColorUtil
-
ComparisonPointsDecorator<
D> - Decorates a point chart by drawing a shape connecting the domain and measure data bounds.
- ConstCornerStrategy
- Strategy for constant corner radius.
- CornerStrategy
- CustomSymbolRenderer
- Convenience class allowing you to pass your Widget builder through the common chart so that it is created for you by the Legend.
- CylinderSymbolRenderer
- Draws a cylindrical shape connecting two points.
- DateTimeAxisSpec
- Generic AxisSpec specialized for Timeseries charts.
- DateTimeEndPointsTickProviderSpec
-
TickProviderSpec
that sets up time ticks at the two end points of the axis range. - DateTimeExtents
- DateTimeFactory
-
Interface for factory that creates DateTime and
DateFormat
. - DateTimeTickFormatter
- A TickFormatter that formats date/time values based on minimum difference between subsequent ticks.
- DateTimeTickFormatterSpec
- DateTimeTickProviderSpec
-
DatumLegend<
D> - Datum legend behavior for charts.
- DayTickProviderSpec
-
TickProviderSpec
that sets up time ticks with days increments only. -
DomainA11yExploreBehavior<
D> - Behavior that generates semantic nodes for each domain.
-
DomainHighlighter<
D> - Chart behavior that monitors the specified SelectionModel and darkens the color for selected data.
- EndPointsTimeAxisSpec
- Default AxisSpec used for Timeseries charts.
- GestureListener
- Listener to touch gestures.
- GraphicsFactory
- Interface to native platform graphics functions.
-
GridlineRendererSpec<
D> -
ImmutableSeries<
D> -
InitialHintBehavior<
D> -
InitialSelection<
D> - Chart behavior that sets the initial selection for a selectionModelType.
- LayoutConfig
- LayoutViewPaintOrder
- Standard layout paint orders for all internal components.
- LayoutViewPositionOrder
- Standard layout position orders for all internal components.
- LegendContentBuilder
- Strategy for building a legend content widget.
- LegendEntryLayout
-
Strategy for building one widget from one
common.LegendEntry
. - LegendLayout
- Strategy for building legend from legend entry widgets.
-
LineAnnotationSegment<
D> - Data for a chart line annotation.
- LineChart
-
LinePointHighlighter<
D> - Chart behavior that monitors the specified SelectionModel and darkens the color for selected data.
-
LineRenderer<
D> -
LineRendererConfig<
D> - Configuration for a line renderer.
- LineStyleSpec
- LocalDateTimeFactory
- A local time DateTimeFactory.
-
LockSelection<
D> - Chart behavior that listens to tap event trigges and locks the specified SelectionModel. This is used to prevent further updates to the selection model, until it is unlocked again.
- MarginSpec
- Specs that applies to one margin.
- MaterialPalette
- A canonical palette of colors from material.io.
- MaterialStyle
- NoCornerStrategy
- Strategy for no corner radius.
-
NoneRenderSpec<
D> - Renders no ticks no labels, and claims no space in layout. However, it does render the axis line if asked to by the axis.
- NumericAxis
- NumericAxisSpec
- AxisSpec specialized for numeric/continuous axes like the measure axis.
- NumericCartesianChart
- NumericComboChart
- A numeric combo chart supports rendering each series of data with different series renderers.
- NumericEndPointsTickProviderSpec
-
TickProviderSpec
that sets up numeric ticks at the two end points of the axis range. - NumericExtents
- Represents the starting and ending extent of a dataset.
- NumericTickFormatterSpec
- NumericTickProviderSpec
- OrdinalAxis
- OrdinalAxisSpec
- AxisSpec specialized for ordinal/non-continuous axes typically for bars.
- OrdinalCartesianChart
- OrdinalComboChart
- An ordinal combo chart supports rendering each series of data with different series renderers.
- OrdinalTickFormatterSpec
- OrdinalTickProviderSpec
- OrdinalViewport
- Viewport to cover dataSize data points starting at startingDomain value.
-
PanAndZoomBehavior<
D> -
PanBehavior<
D> - PercentAxisSpec
- Convenience AxisSpec specialized for numeric percentage axes.
-
PercentInjector<
D> - Chart behavior that can inject series or domain percentages into each datum.
- Performance
-
PieChart<
D> -
PointRenderer<
D> -
PointRendererConfig<
D> - Configuration for a line renderer.
-
PointRendererDecorator<
D> - Decorates points after the points have already been painted.
-
PointRendererElement<
D> - PointSymbolRenderer
- Strategy for rendering a symbol centered around a point.
-
RangeAnnotation<
D> - Chart behavior that annotations domain ranges with a solid fill color.
-
RangeAnnotationSegment<
D> - Data for a chart range annotation.
- RectSymbolRenderer
- Rectangle symbol renderer.
-
RenderSpec<
D> - RTLSpec
- Defines the behavior of the chart if it is RTL.
- ScatterPlotChart
-
SelectionModel<
D> - Holds the state of interaction or selection for the chart to coordinate between various event sources and things that wish to act upon the selection state (highlight, drill, etc).
-
SelectionModelConfig<
D> -
SelectNearest<
D> - Chart behavior that listens to the given eventTrigger and updates the specified SelectionModel. This is used to pair input events to behaviors that listen to selection changes.
-
Series<
T, D> -
SeriesDatum<
D> - Stores datum and the series the datum originated.
-
SeriesDatumConfig<
D> - Represents a series datum based on series id and datum index.
-
SeriesLegend<
D> - Series legend behavior for charts.
-
SeriesRenderer<
D> - A series renderer draws one or more series of data onto a chart canvas.
-
SeriesRendererConfig<
D> - Interface for series renderer configuration.
- SimpleLegendEntryLayout
- Builds one legend entry as a row with symbol and label from the series.
-
SimpleTickFormatterBase<
D> -
Slider<
D> - Chart behavior that adds a slider widget to a chart. When the slider is dropped after drag, it will report its domain position and nearest datum value. This behavior only supports charts that use continuous scales.
- SliderStyle
-
Style configuration for a
Slider
behavior. -
SlidingViewport<
D> - Chart behavior that centers the viewport on the selected domain.
-
SmallTickRendererSpec<
D> - StaticDateTimeTickProviderSpec
-
TickProviderSpec
that allows you to specific the ticks to be used. - StaticNumericTickProviderSpec
-
TickProviderSpec
that allows you to specific the ticks to be used. - StaticOrdinalTickProviderSpec
-
TickProviderSpec
that allows you to specify the ticks to be used. - StyleFactory
-
SymbolAnnotationRenderer<
D> - Series renderer which draws a row of symbols for each series below the drawArea but above the bottom axis.
-
SymbolAnnotationRendererConfig<
D> - Configuration for SymbolAnnotationRenderer.
- TabularLegendContentBuilder
- Strategy that builds a tabular legend.
- TabularLegendLayout
- Layout legend entries in tabular format.
- TextElement
- Interface for accessing text measurement and painter.
- TextStyle
- Paint properties of a text.
- TextStyleSpec
-
TickFormatter<
D> - A strategy used for converting domain values of the ticks into Strings.
-
TickFormatterSpec<
D> -
TickSpec<
D> - Definition for a tick.
- TimeFormatterSpec
- Formatters for a single level of the DateTimeTickFormatterSpec.
- TimeSeriesChart
-
UserManagedSelectionModel<
D> - Container for the user managed selection model.
-
UserManagedState<
D> - Contains override settings for the internal chart state.
- UTCDateTimeFactory
- An UTC time DateTimeFactory.
- ViewMargin
- A configuration for margin (empty space) around a layout child view.
Enums
- AnnotationLabelAnchor
- Configures where to anchor the label.
- AnnotationLabelDirection
- Direction of the label text on the chart.
- AnnotationLabelPosition
- Configures where to place the label relative to the annotation.
- ArcLabelPosition
- Configures where to place the label relative to the arcs.
- AxisDirection
- Direction of the domain axis when the chart container is configured for RTL mode.
- BarGroupingType
- Defines the way multiple series of bars are renderered per domain.
- BarLabelAnchor
- Configures where to anchor the label for labels drawn inside the bars.
- BarLabelPosition
- Configures where to place the label relative to the bars.
- BehaviorPosition
- Position of a component within the chart layout.
- ChartTitleDirection
- Direction of the title text on the chart.
- ExploreModeTrigger
- The gesture to use for triggering explore mode.
- FillPatternType
- Defines the pattern for a color fill.
- InsideJustification
- Justification for components positioned BehaviorPosition.inside.
- LayoutPosition
-
Position of a
LayoutView
. - LegendDefaultMeasure
- Options for calculating what measures are shown when there is no selection.
- LegendTapHandling
- Options for behavior of tapping/clicking on entries in the legend.
- LinePointHighlighterFollowLineType
- Type of follow line(s) to draw.
- MaxWidthStrategy
-
The strategy to use if a TextElement exceeds the
maxWidth
. - OutsideJustification
- Justification for components positioned outside BehaviorPosition.
- PercentInjectorTotalType
- Describes the type of data total that will be calculated by PercentInjector.
- RangeAnnotationAxisType
- Axis type for an annotation.
- SelectionModelType
- SelectionTrigger
- SliderListenerDragState
- Describes the current state of a slider change as a result of a drag event.
- TextDirection
- TickLabelAnchor
- TickLabelJustification
Constants
-
boundsLineRadiusPxFnKey
→ const AttributeKey<
AccessorFn< double?> > -
Defines an
AccessorFn
for the radius for data bounds lines (typically drawn by attaching a ComparisonPointsDecorator to the renderer. -
boundsLineRadiusPxKey
→ const AttributeKey<
double> - Defines a fixed radius for data bounds lines (typically drawn by attaching a ComparisonPointsDecorator to the renderer.
-
measureAxisIdKey
→ const AttributeKey<
String> -
pointSymbolRendererFnKey
→ const AttributeKey<
AccessorFn< String> > -
pointSymbolRendererIdKey
→ const AttributeKey<
String> -
rendererIdKey
→ const AttributeKey<
String> - Unique identifier used to associate custom series renderers on a chart with one or more series of data.
Typedefs
-
DomainFormatter<
D> = String Function(D domain) - MeasureFormatter = String Function(num? measure)
- PanningCompletedCallback = void Function()
- Callback for when panning is completed.
-
SelectionModelListener<
D> = void Function(SelectionModel< D> model) - Callback for SelectionModel. It is triggered when the selection state changes.
-
SliderListenerCallback<
D> = void Function(Point< int> point, D? domain, String roleId, SliderListenerDragState dragState) -
Callback function for
Slider
drag events. -
TypedAccessorFn<
T, R> = R Function(T datum, int? index) -
VocalizationCallback<
D> = String Function(List< SeriesDatum< seriesDatums)D> > - Returns a string for a11y vocalization from a list of series datum.