charts library

Classes

ActualRangeChangedArgs
Holds the onActualRangeChanged event arguments.
AreaSegment
Creates the segments for area series.
AreaSeries<T, D>
Renders the area series.
AxisLabel
Holds the axis label information.
AxisLabelRenderArgs
Holds the onAxisLabelRender event arguments.
AxisLabelTapArgs
Holds the onAxisLabelTapped event arguments.
AxisLine
Customizes the axis line.
AxisTitle
Customizes the axis title.
BarSegment
Creates the segments for bar series.
BarSeries<T, D>
Renders the bar series.
BubbleSegment
Creates the segments for bubble series.
BubbleSeries<T, D>
Renders the bubble series
CartesianChartAnnotation
Customizes the annotation of cartesian chart.
CartesianSeries<T, D>
Renders the cartesian type series.
CategoryAxis
Renders the category axis.
ChartAxis
Customizes the axis in the cartesian chart.
ChartBehavior
Holds the gestures for chart.
ChartSegment
Creates the segments for chart series.
ChartSelectionBehavior
Customizes the selection in chart.
ChartSeries<T, D>
Renders the series.
ChartTextStyle
Customizes the text in chart.
ChartTitle
Customizes the chart title.
CircularChartAnnotation
Customizes the annotation of circular chart.
CircularSeries<T, D>
Renders the circular series.
ColumnSegment
Creates the segments for column series.
ColumnSeries<T, D>
Renders the column series.
ConnectorLineSettings
Customizes the connector line.
CrosshairBehavior
Customizes the crosshair.
CrosshairRenderArgs
Holds the onCrosshairPositionChanging event arguments.
DataLabelRenderArgs
Holds the onDataLabelRender event arguments.
DataLabelSettings
Customizes the data label.
DateTimeAxis
Renders the data time axis.
DoughnutSeries<T, D>
/ Renders the doughnut series.
EmptyPointSettings
Customizes the empty point.
FastLineSegment
Creates the segments for fast line series.
FastLineSeries<T, D>
Renders the fast line series.
IndexesModel
Holds the series index and point index for selection.
InteractiveTooltip
Customizes the interactive tooltip.
Legend
Customizes the legend.
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.
MajorGridLines
Customizes the major grid lines.
MajorTickLines
Customizes the major tick lines.
MarkerSettings
Customizes the markers.
MinorGridLines
Customizes the minor grid lines.
MinorTickLines
Customizes the minor tick lines.
NumericAxis
Renders the numeric axis.
PieSeries<T, D>
Renders the pie series.
PointTapArgs
Holds the onPointTapped event arguments.
RadialBarSeries<T, D>
Renders the radial bar series.
ScatterSegment
Creates the segments for scatter series.
ScatterSeries<T, D>
Renders the scatter series.
SelectionArgs
Holds the onSelectionChanged event arguments.
SelectionSettings
Customizes the selection options.
SfCartesianChart
Renders the cartesian type chart [...]
SfCircularChart
Renders the circular chart [...]
SplineSegment
Creates the segments for spline series.
SplineSeries<T, D>
Renders the spline series.
StepLineSegment
Creates the segments for step line series.
StepLineSeries<T, D>
Renders the step line series.
TooltipArgs
Holds the onTooltipRender event arguments.
TooltipBehavior
Customizes the tooltip.
TrackballArgs
Holds the onTrackballPositionChanging event arguments.
TrackballBehavior
Customizes the trackball.
XyDataSeries<T, D>
Renders the xy series.
ZoomBehavior
Holds the zooming gestures.
ZoomPanArgs
Holds the zooming event arguments.
ZoomPanBehavior
Customizes the zooming options.

Enums

ActivationMode
ActivationMode.singleTap activates the acitvation mode on singleTap, whereas ActivationMode.doubleTap activates the acitvation mode on doubleTap, whereas ActivationMode.longPress activates the acitvation mode on longPress, and ActivationMode.none touch activation will not work.
AnnotationRegion
AnnotationRegion.chart places the annotation anywhere in chart area, and AnnotationRegion.logicalPixel places the annotation plot area.
AreaBorderMode
AreaBorderMode.all zooms border for all sides of area series, whereas AreaBorderMode.top border for only top, and AreaBorderMode.excludeBottom border except for bottom.
AxisLabelIntersectAction
AxisLabelIntersectAction.none makes the axis labels overlap with the other when intersects, whereas AxisLabelIntersectAction.hide makes the axis label to be hidden, whereas AxisLabelIntersectAction.wrap makes the axis label wrapped to the next line, whereas AxisLabelIntersectAction.multipleRows moves the axis label to the next line, whereas AxisLabelIntersectAction.rotate45 rotates the axis label to 45°, and AxisLabelIntersectAction.rotate90 rotates the axis label to 90°.
AxisOrientation
AxisOrientation specifies the orientation of an axis either vertical or horizontal.
CartesianLabelPosition
CartesianLabelPosition.auto places the data label either top or bottom position of a point based on the position, whereas CartesianLabelPosition.outer places the data label at the outer side of a point, whereas CartesianLabelPosition.top places the data label at the top position of a point, whereas CartesianLabelPosition.bottom places the data label at the bottom position of a point and CartesianLabelPosition.middle places the data label at the middle position of a point.
ChartAlignment
ChartAlignment.near aligns to the near position, whereas ChartAlignment.center aligns to the center position, and ChartAlignment.far aligns to the far position.
ChartRangePadding
ChartRangePadding.auto, the horizontal numeric axis takes None as padding calculation, while the vertical numeric axis takes Normal as padding calculation, whereas ChartRangePadding.none, minimum and maximum of an axis is based on the data, whereas ChartRangePadding.normal, padding is applied to the axis based on default range calculation, whereas ChartRangePadding.additional, an interval of an axis will be added to the minimum and maximum of the axis, and ChartRangePadding.round, minimum and maximum will be rounded to the nearest possible value, which is divisible by an interval.
CircularChartGroupMode
CircularChartGroupMode.point groups the points based on length, and CircularChartGroupMode.value groups the points based on the y-value.
CircularLabelPosition
CircularLabelPosition.curve places the data label inside the point, and CircularLabelPosition.line places the data label outside of the point.
ConnectorType
ConnectorType.curve data label connector line shape is of curve type, and ConnectorType.line data label connector line shape is of line type.
CoordinateUnit
CoordinateUnit.point places the annotation concerning points, and CoordinateUnit.logicalPixel places the annotation concerning pixel value.
CornerStyle
CornerStyle.bothFlat corner style of radial bar at start and end is of plot type, whereas CornerStyle.bothCurve corner style of radial bar at start and end is of curve type, whereas CornerStyle.startCurve corner style of radial bar at start is of curve type, and CornerStyle.endCurve corner style of radial bar at end is of curve type.
CrosshairLineType
CrosshairLineType.both horizotal and vertical lines are shown, whereas CrosshairLineType.horizontal horizontal line is shown, whereas CrosshairLineType.vertical vertical line is shown, and CrosshairLineType.none crosshair line will not be shown.
DataMarkerType
DataMarkerType supports the below shapes. If the shape is DataMarkerType.image, specify the image path in imageUrl property of markerSettings.
DateTimeIntervalType
DateTimeIntervalType.auto intervals are calcualted based in the data points, whereas DateTimeIntervalType.years intervals are calculated based on years, whereas DateTimeIntervalType.months intervals are calculated based on months, whereas DateTimeIntervalType.days intervals are calculated based on days, whereas DateTimeIntervalType.hours intervals are calculated based on hours, whereas DateTimeIntervalType.minutes intervals are calculated based on minutes, and DateTimeIntervalType.seconds intervals are calculated based on seconds.
EdgeLabelPlacement
EdgeLabelPlacement.none places the axis edge labels in normal position, whereas EdgeLabelPlacement.hides hide the edge labels, and EdgeLabelPlacement.shift shift the edge labels.
EmptyPointMode
EmptyPointMode.gap the point is considered as a gap, whereas EmptyPointMode.zero y value is considered as zero whereas EmptyPointMode.drop y value drops to a minimum of the axis, and EmptyPointMode.average y value is considered as the average of two points.
LabelIntersectAction
LabelIntersectAction.hide data label is hidden on intersection, and LabelIntersectAction.none data label is not shown on intersection.
LabelPlacement
LabelPlacement.betweenTicks places the axis label between the ticks, and LabelPlacement.onTicks places the axis label on the ticks.
LabelPosition
LabelPosition.inside places the axis label inside the plot area, and LabelPosition.outside places the axis label outside the plot area.
LegendIconType
LegendIconType supports the below shapes.
LegendItemOrientation
LegendItemOrientation.auto aligns the legend items based on size, whereas LegendItemOrientation.horizontal aligns horizontally aligns the legend, and LegendItemOrientation.vertical vertically aligns the legend.
LegendItemOverflowMode
LegendItemOverflowMode.wrap legends are wrapped to next line, whereas LegendItemOverflowMode.scroll legends are placed in a single line that can be scrolled, and LegendItemOverflowMode.none legend's position which exceeds the size will not be visible.
LegendPosition
LegendPosition.auto places the legend either at the bottom when the height is greater than the width, or at right when the width is greater than height, whereas LegendPosition.bottom places the legend at the bottom of the plot area, whereas LegendPosition.left places the legend at the left of the plot area, whereas LegendPosition.right places the legend at the right of the plot area, and LegendPosition.top places the legend at the top of the plot area.
Position
Position.left places the data label to the left side, and Position.right places the data label to the right side.
SelectionType
SelectionType.point zooms selects the individual point, whereas SelectionType.series selects the entire series, and SelectionType.cluster selects the cluster of points.
SortingOrder
SortingOrder.ascending arranges the points in ascending order, whereas SortingOrder.descending arranges the points in descending order, and SortingOrder.none renders the points normally.
SplineType
SplineType supports the following types. If SplineType.cardinal type is specified, then specify the line tension using cardinalSplineTension of series property.
TickPosition
TickPosition.inside places the ticks inside the plot area, and TickPosition.outside places the ticks outside the plot area.
TrackballDisplayMode
TrackballDisplayMode.floatAllPoints points of different series are individually shown, whereas TrackballDisplayMode.groupAllPoints points of different series are grouped, whereas TrackballDisplayMode.nearestPoint nearest point is shown, and TrackballDisplayMode.none trackball is not shown.
TrackballLineType
TrackballLineType.vertical vertical trackball line is shown, whereas TrackballLineType.horizontal horizontal trackball line is shown, and TrackballLineType.none trackball line is shown.
ZoomMode
ZoomMode.x zooms in the x-direction, whereas ZoomMode.y zooms in the y-direction, and ZoomMode.xy zooms in xy direction.

Typedefs

ChartActualRangeChangedCallback(ActualRangeChangedArgs rangeChangedArgs) → void
Returns the ActualRangeChangedArgs.
ChartAxisLabelRenderCallback(AxisLabelRenderArgs axisLabelRenderArgs) → void
Returns the AxisLabelRenderArgs.
ChartAxisLabelTapCallback(AxisLabelTapArgs axisLabelTapArgs) → void
Returns the AxisLabelTapArgs.
ChartCrosshairCallback(CrosshairRenderArgs crosshairArgs) → void
Returns the CrosshairRenderArgs
ChartDatalabelRenderCallback(DataLabelRenderArgs dataLabelArgs) → void
Returns the DataLabelRenderArgs.
ChartIndexedValueMapper<R>(int index) → R
Maps the index value.
ChartLegendRenderCallback(LegendRenderArgs legendRenderArgs) → void
Returns the LegendRenderArgs.
ChartLegendTapCallback(LegendTapArgs legendTapArgs) → void
Returns the LegendTapArgs.
ChartPointTapCallback(PointTapArgs pointTapArgs) → void
Returns the PointTapArgs.
ChartSelectionCallback(SelectionArgs selectionArgs) → void
Returns the SelectionArgs.
ChartTooltipCallback(TooltipArgs tooltipArgs) → void
Returns the TooltipArgs.
ChartTrackballCallback(TrackballArgs trackballArgs) → void
Returns the TrackballArgs.
ChartValueMapper<T, R>(T datum, int index) → R
Maps the data from data source.
ChartWidgetBuilder<T>(dynamic data, dynamic point, dynamic series, int pointIndex, int seriesIndex) → Widget
Returns the widget.
ChartZoomingCallback(ZoomPanArgs zoomingArgs) → void
Returns the ZoomPanArgs.
CircularDatalabelRenderCallback(DataLabelRenderArgs dataLabelArgs) DataLabelRenderArgs
Returns the DataLabelRenderArgs.
CircularLegendRenderCallback(LegendRenderArgs legendRenderArgs) LegendRenderArgs
Returns the LegendRenderArgs.
CircularPointTapCallback(PointTapArgs pointTapArgs) PointTapArgs
Returns the PointTapArgs.
CircularSelectionCallback(SelectionArgs selectionArgs) SelectionArgs
Returns the SelectionArgs.
CircularTooltipCallback(TooltipArgs tooltipArgs) TooltipArgs
Returns the TooltipArgs.
DataLabelTemplateBuilder<T>(T data, _CartesianChartPoint point, int pointIndex, { int seriesIndex, CartesianSeries series }) → Widget
Returns the widget.
LegendItemBuilder(String legendText, dynamic series, dynamic point, int seriesIndex) → Widget
Returns the widget.