charts library

Syncfusion Flutter Charts is a data visualization library written natively in Dart for creating beautiful and high-performance cartesian, circular, pyramid and funnel charts.

To use, import package:syncfusion_flutter_charts/charts.dart.

See also:

Classes

AccumulationDistributionIndicator<T, D>
This class holds the properties of the accumulation distribution indicator.
ActualRangeChangedArgs
Holds the onActualRangeChanged event arguments.
AreaSegment
Creates the segments for area series.
AreaSeries<T, D>
This class renders the area series.
AreaSeriesRenderer
Creates series renderer for area series.
AtrIndicator<T, D>
This class holds the properties of the average true range indicator.
AxisLabel
Holds the axis label information.
AxisLabelRenderDetails
Holds label text, axis name, orientation of the axis, trimmed text and text styles such as color, font size, and font weight for label formatter event.
AxisLabelTapArgs
Holds the onAxisLabelTapped event arguments.
AxisLine
This class consists of axis line properties.
AxisTitle
This class holds the property of the axis title.
BarSegment
Creates the segments for bar series.
BarSeries<T, D>
This class has the properties of the bar series.
BarSeriesRenderer
Creates series renderer for bar series.
BollingerBandIndicator<T, D>
This class has the property of bollinger band indicator.
BollingerBandIndicatorRenderParams
Holds the onRenderDetailsUpdate callback arguments.
BoxAndWhiskerSegment
Creates the segments for box and whisker series.
BoxAndWhiskerSeries<T, D>
This class holds the properties of the box and whisker series.
BoxAndWhiskerSeriesRenderer
Creates series renderer for box and whisker series.
BubbleSegment
Creates the segments for bubble series.
BubbleSeries<T, D>
This class holds the properties of the bubble series.
BubbleSeriesRenderer
Creates series renderer for bubble series.
CandleSegment
Creates the segments for candle series.
CandleSeries<T, D>
This class holds the properties of the candle series.
CandleSeriesRenderer
Creates series renderer for candle series.
CartesianChartAnnotation
This class has the properties of cartesian chart annotation.
CartesianChartPoint<D>
This class has the properties of CartesianChartPoint.
CartesianSeries<T, D>
This class has the properties of the cartesian series.
CartesianSeriesRenderer
Creates a series renderer for Cartesian series.
CategoricalMultiLevelLabel
Provides options to customize the start, the end value of a multi-level label, text, and level of the multi-level labels.
CategoryAxis
This class has the properties of the category axis.
CategoryAxisRenderer
Creates an axis renderer for Category axis
ChartAxis
This class holds the properties of ChartAxis.
ChartAxisLabel
Holds the axis label text and style details.
ChartAxisRenderer
Creates an axis renderer for chart axis.
ChartBehavior
Holds the gestures for chart.
ChartPoint<D>
It is the data type for the circular chart and it has the properties is used to assign at the value declaration of the circular chart.
ChartPointDetails
Holds the arguments of onPointTap, onPointDoubleTap and onPointLongPress callbacks.
ChartSegment
Creates the segments for chart series.
ChartSelectionBehavior
Customizes the selection in chart.
ChartSeries<T, D>
This class holds the property of series.
ChartSeriesController
We can redraw the series with updating or creating new points by using this controller. If we need to access the redrawing methods in this before we must get the ChartSeriesController onRendererCreated event.
ChartSeriesRenderer
Creates a series renderer for chart series.
ChartShaderDetails
Holds the onCreateShader callback arguments.
ChartTitle
It has the properties of the chart title.
ChartTouchInteractionArgs
Holds the chart TouchUp event arguments.
CircularChartAnnotation
Customizes the annotation of the circular chart.
CircularChartEmptyPointBehavior
This class provides method to calculate the empty point value.
CircularSeries<T, D>
This class holds the property of circular series.
CircularSeriesController
We can redraw the series by updating or creating new points by using this controller. If we need to access the redrawing methods in this before we must get the ChartSeriesController onRendererCreated event.
CircularSeriesRenderer
Creates a series renderer for circular series.
ColumnSegment
Creates the segments for column series.
ColumnSeries<T, D>
This class has the properties of the column series.
ColumnSeriesRenderer
Creates series renderer for column series.
ConnectorLineSettings
This class holds the properties of the connector line.
CrosshairBehavior
This class has the properties of the crosshair behavior.
CrosshairBehaviorRenderer
Crosshair renderer class for mutable fields and methods.
CrosshairRenderArgs
Holds the onCrosshairPositionChanging event arguments.
DataLabelRenderArgs
Holds the onDataLabelRender event arguments.
DataLabelSettings
Customizes the data label.
DataLabelTapDetails
Holds the onDataLabelTapped callback arguments.
DateTimeAxis
This class holds the properties of the DateTime axis.
DateTimeAxisRenderer
Creates an axis renderer for Datetime axis
DateTimeCategoricalMultiLevelLabel
Provides options to customize the start, the end value of a multi-level label, text, and level of the multi-level labels.
DateTimeCategoryAxis
An axis which is used to plot date-time values. It is similar to DateTimeAxis except that it excludes missing dates.
DateTimeCategoryAxisRenderer
Creates an axis renderer for Category axis
DateTimeMultiLevelLabel
Provides options to customize the start, the end value of a multi-level label, text, and level of the multi-level labels.
DoughnutSeries<T, D>
This class has the properties of the Doughnut series.
DoughnutSeriesRenderer
Creates series renderer for doughnut series.
EmaIndicator<T, D>
Renders EMA indicator
EmptyPointSettings
Handling empty points in charts
ErrorBarRenderDetails
Holds the ErrorBarRenderDetails values.
ErrorBarSegment
Segment class for error bar.
ErrorBarSeries<T, D>
This class has the properties of the error bar series.
ErrorBarSeriesRenderer
Creates series renderer for error bar series.
FastLineSegment
Creates the segments for fast line series.
FastLineSeries<T, D>
Renders the FastLineSeries.
FastLineSeriesRenderer
Creates series renderer for fastline series.
FunnelSeries<T, D>
Renders Funnel series.
FunnelSeriesController
We can redraw the series with updating or creating new points by using this controller.If we need to access the redrawing methods in this before we must get the ChartSeriesController onRendererCreated event.
FunnelSeriesRenderer
Creates series renderer for Funnel series.
HiloOpenCloseSegment
Creates the segments for hilo open close series.
HiloOpenCloseSeries<T, D>
Renders the hilo open close series.
HiloOpenCloseSeriesRenderer
Creates series renderer for hilo open close series.
HiloSegment
Creates the segments for hilo series.
HiloSeries<T, D>
Renders the hilo series.
HiloSeriesRenderer
Creates series renderer for hilo series.
HistogramSegment
Creates the segments for column series.
HistogramSeries<T, D>
This class has the properties of the histogram series.
HistogramSeriesRenderer
Creates series renderer for histogram series.
IndicatorRenderArgs
Holds the onRenderDetailsUpdate event arguments.
IndicatorRenderParams
Holds the onRenderDetailsUpdate callback arguments.
InteractiveTooltip
Customizes the interactive tooltip.
Legend
Identify the series in chart.
LegendRenderArgs
Holds the onLegendItemRender event arguments.
LegendTapArgs
Holds the onLegendTapped event arguments.
LegendTitle
Customizes the legend title.
LineSegment
Creates the segments for line series.
LineSeries<T, D>
Renders the line series.
LineSeriesRenderer
Creates series renderer for line series.
LogarithmicAxis
Logarithmic axis uses logarithmic scale and displays numbers as axis labels.
LogarithmicAxisRenderer
Creates an axis renderer for Logarithmic axis
LogarithmicMultiLevelLabel
Provides options to customize the start, the end value of a multi-level label, text, and level of the multi-level labels.
MacdIndicator<T, D>
This class holds the properties of the Macd Indicator.
MacdIndicatorRenderParams
Holds the onRenderDetailsUpdate callback arguments.
MajorGridLines
Customizes the major grid lines.
MajorTickLines
This class Renders the major tick lines for axis.
MarkerRenderArgs
Holds the onMarkerRender event arguments.
MarkerSettings
Customizes the markers.
MinorGridLines
Customizes the minor grid lines.
MinorTickLines
This class has the properties of minor tick lines.
MomentumIndicator<T, D>
Renders the momentum indicator.
MomentumIndicatorRenderParams
Holds the onRenderDetailsUpdate callback arguments.
MultiLevelLabelRenderDetails
Holds multi-level label text, name of the axis, index, actual level of the multi-level label, text style such as color, font size, etc arguments for multi-level label formatter callback.
MultiLevelLabelStyle
Customize the multi-level label’s border color, width, type, and text style such as color, font size, etc.
NumericAxis
This class has the properties of the numeric axis.
NumericAxisRenderer
Creates an axis renderer for Numeric axis.
NumericMultiLevelLabel
Provides options to customize the start, the end value of a multi-level label, text, and level of the multi-level labels.
PieSeries<T, D>
This class has the properties of the pie series.
PieSeriesRenderer
Creates a series renderer for pie series.
PlotBand
Render plot band.
PointInfo<D>
This is similar to the point of the Cartesian chart.
PyramidSeries<T, D>
Renders the pyramid series.
PyramidSeriesController
We can redraw the series with updating or creating new points by using this controller.If we need to access the redrawing methods in this before we must get the ChartSeriesController onRendererCreated event.
PyramidSeriesRenderer
Creates series renderer for Pyramid series.
RadialBarSeries<T, D>
Renders the radial bar series.
RadialBarSeriesRenderer
Creates a series renderer for radial bar series.
RangeAreaSegment
Creates the segments for range area series.
RangeAreaSeries<T, D>
Renders the range area series.
RangeAreaSeriesRenderer
Creates series renderer for range area series.
RangeColumnSegment
Creates the segments for range column series.
RangeColumnSeries<T, D>
Renders the range column series.
RangeColumnSeriesRenderer
Creates series renderer for range column series
RsiIndicator<T, D>
Renders relative strength index (RSI) indicator.
ScatterSegment
Creates the segments for scatter series.
ScatterSeries<T, D>
Renders the scatter series.
ScatterSeriesRenderer
Creates series renderer for scatter series
SelectionArgs
Holds the onSelectionChanged event arguments.
SelectionBehavior
Provides options for the selection of series or data points.
SelectionBehaviorRenderer
Selection renderer class for mutable fields and methods.
SfCartesianChart
Renders the Cartesian type charts.
SfCartesianChartState
Represents the state class of SfCartesianChart widget
SfCircularChart
Renders the circular chart.
SfCircularChartState
Represents the state class of SfCircularChart widget.
SfFunnelChart
Renders the funnel chart.
SfFunnelChartState
Represents the state class of SfFunnelChart widget.
SfPyramidChart
Renders the pyramid chart.
SfPyramidChartState
Represents the state class of SfPyramidChart widget.
ShaderDetails
Holds the onCreateShader callback arguments.
SmaIndicator<T, D>
Renders simple moving average (SMA) indicator.
SplineAreaSegment
Creates the segments for spline area series.
SplineAreaSeries<T, D>
Renders the spline series.
SplineAreaSeriesRenderer
Creates series renderer for spline area series.
SplineRangeAreaSegment
Creates the segments for spline area series.
SplineRangeAreaSeries<T, D>
Renders the spline range area series.
SplineRangeAreaSeriesRenderer
Creates series renderer for spline range area series.
SplineSegment
Creates the segments for spline series.
SplineSeries<T, D>
Renders the spline series.
SplineSeriesRenderer
Creates series renderer for spline series.
StackedArea100Segment
Creates the segments for 100% stacked area series.
StackedArea100Series<T, D>
Renders the stacked area series.
StackedArea100SeriesRenderer
Creates series renderer for Stacked area 100 series
StackedAreaSegment
Creates the segments for stacked area series.
StackedAreaSeries<T, D>
Renders the stacked area series.
StackedAreaSeriesRenderer
Creates series renderer for stacked area series.
StackedBar100Segment
Creates the segments for 100% stacked bar series.
StackedBar100Series<T, D>
Renders the 100% stacked bar series.
StackedBar100SeriesRenderer
Creates series renderer for Stacked bar 100 series
StackedBarSegment
Creates the segments for stacked bar series.
StackedBarSeries<T, D>
Renders the stacked bar series.
StackedBarSeriesRenderer
Creates series renderer for stacked bar series.
StackedColumn100Segment
Creates the segments for 100% stacked column series.
StackedColumn100Series<T, D>
Renders the 100% stacked column series.
StackedColumn100SeriesRenderer
Creates series renderer for Stacked column 100 series
StackedColumnSegment
Creates the segments for stacked column series.
StackedColumnSeries<T, D>
Renders the stacked column series.
StackedColumnSeriesRenderer
Creates series renderer for stacked column series.
StackedLine100Segment
Creates the segments for 100% stacked line series.
StackedLine100Series<T, D>
Renders the 100% stacked line series.
StackedLine100SeriesRenderer
Creates series renderer for Stacked line 100 series
StackedLineSegment
Creates the segments for 100% stacked line series.
StackedLineSeries<T, D>
Renders the stacked line series.
StackedLineSeriesRenderer
Creates series renderer for stacked line series.
StepAreaSegment
Creates the segments for step area series.
StepAreaSeries<T, D>
Renders the step area series.
StepAreaSeriesRenderer
Creates series renderer for step area series.
StepLineSegment
Creates the segments for step line series.
StepLineSeries<T, D>
Renders the step line series.
StepLineSeriesRenderer
Creates series renderer for step line series.
StochasticIndicator<T, D>
Renders stochastic indicator.
StochasticIndicatorRenderParams
Holds the onRenderDetailsUpdate callback arguments.
TechnicalIndicatorRenderDetails
Holds the TechnicalIndicatorRenderDetails values
TechnicalIndicators<T, D>
Customize the technical indicators.
TmaIndicator<T, D>
Renders Triangular Moving Average (TMA) indicator.
TooltipArgs
Holds the arguments for the event onTooltipRender.
TooltipBehavior
Customizes the tooltip.
TooltipBehaviorRenderer
Tooltip behavior renderer class for mutable fields and methods.
TooltipValue
Holds the tooltip series and point index.
TrackballArgs
Holds arguments for onTrackballPositionChanging event.
TrackballBehavior
Customizes the trackball.
TrackballBehaviorRenderer
Trackball behavior renderer class for mutable fields and methods
TrackballDetails
Options to show the details of the trackball template.
TrackballGroupingModeInfo
Class to store the group mode details of trackball template.
TrackballMarkerSettings
Options to customize the markers that are displayed when trackball is enabled.
Trendline
Renders the chart trendline.
TrendlineRenderParams
Holds the onRenderDetailsUpdate callback arguments of trendline.
TriangularChartEmptyPointBehavior
Data points with a null value are considered empty points. Empty data points are ignored and are not plotted in the chart.
WaterfallConnectorLineSettings
Options to customize the waterfall chart connector line.
WaterfallSegment
Creates the segments for waterfall series.
WaterfallSeries<T, D>
Renders the waterfall series.
WaterfallSeriesRenderer
Creates series renderer for waterfall series.
XyDataSeries<T, D>
Renders the xy series.
XyDataSeriesRenderer
Creates series renderer for xy data series.
ZoomBehavior
Holds the zooming gestures.
ZoomPanArgs
Holds the zooming event arguments.
ZoomPanBehavior
Customizes the zooming options.
ZoomPanBehaviorRenderer
Creates a renderer class for ZoomPanBehavior class

Enums

ActivationMode
Mode to activate a specific interactive user feature.
AnnotationRegion
Annotation is a note by way of explanation or comment added to the chart.
AutoScrollingMode
Determines whether the axis should be scrolled from the start position or end position.
AxisBorderType
Border type of the chart axis label.
AxisLabelIntersectAction
Action while the axis label intersects. Axis label placements can be determined when the axis labels get intersected.
AxisOrientation
Orientation of an axis.
BorderDrawMode
Border mode of area type series.
BoxPlotMode
Box plot series rendering mode.
ChartAlignment
Alignment of various elements in chart.
ChartDataLabelAlignment
Position of data labels in Cartesian chart.The position of data lables in cartesian charts can be changed using this property.
ChartDataLabelPosition
Position of the axis labels.
ChartRangePadding
Padding for axis ranges.
ChartSwipeDirection
The direction of swiping on the chart.
CircularChartGroupMode
Data points grouping mode.
CircularLabelPosition
Position of data labels in Circular chart.
ConnectorType
Type of connector line.
CoordinateUnit
Coordinate unit for placing annotations.
CornerStyle
Corner style of range bar series.
CrosshairLineType
Crosshair line type.
DataMarkerType
Data marker shapes.
DateTimeIntervalType
Interval type of the DateTime and DateTimeCategory axis.
Direction
Determines the error bar direction.
EdgeLabelPlacement
Placement of edge labels in the axis.
EmptyPointMode
Mode of empty data points.
ErrorBarType
Determines the type of the Error Bar.
LabelAlignment
Used to align the Cartesian data label positions.
LabelIntersectAction
Data labels intersect action.
LabelPlacement
Placement of category axis labels.
LegendIconType
It used to change the legend icons in different type of series and indicators.
LegendItemOrientation
Orientation of legend items.
LegendItemOverflowMode
Mode to handle the legend items overflow.
LegendPosition
Legend Position in charts.
MacdType
Macd indicator type.
MultiLevelBorderType
Border type of the chart axis multi-level label.
OverflowMode
Data label overflow action when it’s overflowing from its region area.
PointRenderMode
Point Render Mode for circular charts
Position
Data label position of range bar series.
PyramidMode
PyramidMode for pyramid charts.
RangeAreaBorderMode
Border mode of range area series.
RenderingMode
Determines mode of the error bar.
SelectionType
Data point selection type.
SortingOrder
Sorting order of data points.
SplineType
Renders a variety of splines
TextAnchor
Types of text rendering positions.
TickPosition
Position of the ticks in the axis.
TooltipAlignment
Used to align the tootip content.
TooltipPosition
Tooltip positioning.
TrackballDisplayMode
Trackball tooltip's display mode.
TrackballLineType
Trackball line type.
TrackballVisibilityMode
Whether marker should be visible or not when trackball is enabled.
TrendlineType
Trendline type
ZoomMode
Zooming mode in SfCartesianChart

Typedefs

CartesianShaderCallback = Shader Function(ShaderDetails shaderDetails)
/ Callback definition for cartesian shader events.
ChartActualRangeChangedCallback = void Function(ActualRangeChangedArgs rangeChangedArgs)
Returns the ActualRangeChangedArgs.
ChartAxisLabelTapCallback = void Function(AxisLabelTapArgs axisLabelTapArgs)
Returns the AxisLabelTapArgs.
ChartCrosshairCallback = void Function(CrosshairRenderArgs crosshairArgs)
Returns the CrosshairRenderArgs
ChartDataLabelRenderCallback = void Function(DataLabelRenderArgs dataLabelArgs)
Returns the DataLabelRenderArgs.
ChartDataLabelTemplateBuilder<T> = Widget Function(T data, CartesianChartPoint point, int pointIndex, {CartesianSeries series, int seriesIndex})
Returns the widget.
ChartErrorBarRenderCallback = void Function(ErrorBarRenderDetails errorBarRenderDetails)
Callback definition for error bar event.
ChartIndexedValueMapper<R> = R? Function(int index)
Maps the index value.
ChartIndicatorRenderCallback = TechnicalIndicatorRenderDetails Function(IndicatorRenderParams indicatorRenderParams)
Returns the IndicatorRenderArgs.
ChartLabelFormatterCallback = ChartAxisLabel Function(AxisLabelRenderDetails axisLabelRenderArgs)
Signature for the axisLabelFormatter callback that returns ChartAxisLabel class value to  customize the axis label text and style.
ChartLegendRenderCallback = void Function(LegendRenderArgs legendRenderArgs)
Returns the LegendRenderArgs.
ChartLegendTapCallback = void Function(LegendTapArgs legendTapArgs)
Returns the LegendTapArgs.
ChartMarkerRenderCallback = void Function(MarkerRenderArgs markerArgs)
Returns the MarkerRenderArgs.
ChartPlotAreaSwipeCallback = void Function(ChartSwipeDirection direction)
A callback which gets called on swiping over plot area.
ChartPointInteractionCallback = void Function(ChartPointDetails pointInteractionDetails)
Returns the ChartPointDetails.
ChartSelectionCallback = void Function(SelectionArgs selectionArgs)
Returns the SelectionArgs.
ChartSeriesRendererFactory<T, D> = ChartSeriesRenderer Function(ChartSeries<T, D> series)
Custom renderer for series
ChartShaderMapper<T> = Shader Function(T datum, int index, Color color, Rect rect)
Signature for the callback that returns the shader from the data source based on the index. Can get the data, index, color and rect values.
ChartTooltipCallback = void Function(TooltipArgs tooltipArgs)
typedef belongs SfCartesianChart Returns the TooltipArgs.
ChartTouchInteractionCallback = void Function(ChartTouchInteractionArgs tapArgs)
Returns the offset.
ChartTrackballBuilder<T> = Widget Function(BuildContext context, TrackballDetails trackballDetails)
Returns the widget as a template of trackball
ChartTrackballCallback = void Function(TrackballArgs trackballArgs)
Returns the TrackballArgs.
ChartTrendlineRenderCallback = void Function(TrendlineRenderParams trendlineRenderParams)
Returns the Trendline args
ChartValueMapper<T, R> = R? Function(T datum, int index)
Maps the data from data source.
ChartWidgetBuilder<T> = Widget Function(dynamic data, dynamic point, dynamic series, int pointIndex, int seriesIndex)
Returns the widget.
ChartZoomingCallback = void Function(ZoomPanArgs zoomingArgs)
Returns the ZoomPanArgs.
CircularDatalabelRenderCallback = void Function(DataLabelRenderArgs dataLabelArgs)
Returns the DataLabelRenderArgs.
CircularLegendRenderCallback = void Function(LegendRenderArgs legendRenderArgs)
typedef belongs SfCircularChart Returns the LegendRenderArgs.
CircularSelectionCallback = void Function(SelectionArgs selectionArgs)
Returns the SelectionArgs.
CircularSeriesRendererCreatedCallback = void Function(CircularSeriesController controller)
Return the controller for circular series.
CircularShaderCallback = Shader Function(ChartShaderDetails chartShaderDetails)
Signature for the callback that returns the shader value to override the fill color of the data points.
CircularTooltipCallback = void Function(TooltipArgs tooltipArgs)
Returns the TooltipArgs.
CircularTouchInteractionCallback = void Function(ChartTouchInteractionArgs tapArgs)
Returns the offset.
DataLabelTapCallback = void Function(DataLabelTapDetails onTapArgs)
typedef common for all the chart types
FunnelDataLabelRenderCallback = void Function(DataLabelRenderArgs dataLabelArgs)
Returns the DataLabelRenderArgs.
FunnelLegendRenderCallback = void Function(LegendRenderArgs legendRenderArganimateCompleteds)
Returns the LegendRenderArgs.
FunnelSelectionCallback = void Function(SelectionArgs selectionArgs)
Returns the SelectionArgs.
FunnelSeriesRendererCreatedCallback = void Function(FunnelSeriesController controller)
Called when the renderer for the funnel series is created.
FunnelTooltipCallback = void Function(TooltipArgs tooltipArgs)
Returns the TooltipArgs.
FunnelTouchInteractionCallback = void Function(ChartTouchInteractionArgs tapArgs)
Returns the offset.
LegendItemBuilder = Widget Function(String legendText, dynamic series, dynamic point, int seriesIndex)
Returns the widget.
LoadMoreViewBuilderCallback = Widget Function(BuildContext context, ChartSwipeDirection direction)
Returns a widget which can be used to load more data to chart. called on dragging and when the visible range reaches the end.
MultiLevelLabelFormatterCallback = ChartAxisLabel Function(MultiLevelLabelRenderDetails multiLevelLabelRenderArgs)
Signature for the multiLevelLabelFormatter callback that returns ChartAxisLabel.
PyramidDataLabelRenderCallback = void Function(DataLabelRenderArgs dataLabelArgs)
Returns the DataLabelRenderArgs.
PyramidLegendRenderCallback = void Function(LegendRenderArgs legendRenderArganimateCompleteds)
Returns the LegendRenderArgs.
PyramidSelectionCallback = void Function(SelectionArgs selectionArgs)
Returns the SelectionArgs.
PyramidSeriesRendererCreatedCallback = void Function(PyramidSeriesController controller)
Called when the pyramid series is created.
PyramidTooltipCallback = void Function(TooltipArgs tooltipArgs)
Returns the TooltipArgs.
PyramidTouchInteractionCallback = void Function(ChartTouchInteractionArgs tapArgs)
Returns the Offset.
SeriesRendererCreatedCallback = void Function(ChartSeriesController controller)
Called when the series renderer is created.