chartify library

Chartify - A comprehensive, high-performance Flutter chart library.

Supports 25+ chart types with clean architecture, large datasets, cross-platform compatibility, and both simple and advanced APIs.

Quick Start

import 'package:chartify/chartify.dart';

// Simple line chart
LineChart(
  data: LineChartData(
    series: [
      LineSeries(data: [
        DataPoint(x: 0, y: 10),
        DataPoint(x: 1, y: 25),
        DataPoint(x: 2, y: 15),
      ]),
    ],
  ),
)

Theming

ChartTheme(
  data: ChartThemeData.fromSeed(Colors.blue),
  child: LineChart(...),
)

Animation

LineChart(
  data: lineData,
  animation: ChartAnimation(
    duration: Duration(milliseconds: 800),
    curve: Curves.easeOutCubic,
  ),
)

Classes

AccessibleChartBuilder
Builder for creating accessible chart widgets.
AccessibleColorPalette
Helper for creating accessible color palettes.
AdvancedDecimator
Decimation algorithms for enterprise-level large dataset support.
AnimatedFocusIndicator
Animated focus indicator widget.
ArcData
Data for a single arc segment.
ArcPainter
Painter for arc/pie/donut series.
ArcPainterFactory
Factory for creating arc painters.
ArcSeriesConfig
Configuration for arc/pie series rendering.
AreaChart
An area chart widget.
AreaChartData
Data configuration for an area chart.
AreaSeries<X, Y extends num>
A data series for area charts.
AutoResponsiveProvider
A widget that automatically provides responsive configuration based on constraints.
AxisBuilder<T>
Configuration builder for axes.
AxisConfig
Axis configuration for Cartesian charts.
AxisFactory
Factory for creating common axis configurations.
AxisRenderer<T>
Renderer for chart axes.
BandScale<T>
A band scale for categorical/ordinal data.
BarChart
A bar chart widget.
BarChartData
Data configuration for a bar chart.
BarData
Data for a single bar.
BarPainter
Painter for bar series.
BarPainterFactory
Factory for creating bar painters.
BarSeries<X, Y extends num>
A data series for bar charts.
BarSeriesConfig
Configuration for bar series rendering.
BarXAxisConfig
Configuration for the bar chart's X axis.
BarYAxisConfig
Configuration for the bar chart's Y axis.
BaseChartPainter
Base class for chart painters with common functionality.
BatchedDrawer
Helper for batched drawing operations.
Bounds
Represents bounds with min and max values.
BoundsCalculator
Calculates bounds for chart data.
BoxPlotChart
A box plot (box-and-whisker) chart widget.
BoxPlotChartData
Data configuration for box plot chart.
BoxPlotDataPoint<X>
A data point for box plot charts with statistical quartiles.
BoxPlotItem
A single box plot item showing five-number summary.
BubbleChart
A bubble chart widget.
BubbleChartData
Data configuration for bubble chart.
BubbleDataPoint<X, Y extends num>
A data point for bubble charts.
BubbleSeries<X, Y extends num>
A data series for bubble charts.
BubbleSizeConfig
Configuration for bubble sizing.
BufferedChartLogger
A logger that collects log entries in memory.
BufferedErrorReporter
An error reporter that collects reports in memory.
BulletChart
A bullet chart widget.
BulletChartData
Data configuration for bullet chart.
BulletItem
A single bullet item with value, target, and ranges.
BumpChart
A bump chart widget.
BumpChartData
Data configuration for bump chart.
BumpSeries
A single series in the bump chart showing rankings over time.
CachedLayer
Cached rendering layer containing a Picture and invalidation state.
CachedPathInfo
Cached information about a path for efficient reuse.
CachedTextLayout
Cached text layout with precomputed metrics.
CacheKeyBuilder
Cache key builder for common chart scenarios.
CalendarDataPoint
A single data point in the calendar heatmap.
CalendarHeatmapChart
A calendar heatmap chart widget (GitHub contribution style).
CalendarHeatmapData
Data configuration for calendar heatmap chart.
CandlestickChart
A candlestick chart widget for financial data.
CandlestickChartData
Data configuration for candlestick chart.
CandlestickDataPoint
A single candlestick data point (OHLC).
CanvasLayerCache
Cache for canvas rendering layers.
CardinalInterpolator
Cardinal spline interpolation.
CartesianChartBuilder
Builder for cartesian chart configurations.
CartesianChartConfig
Base configuration for cartesian charts.
CartesianChartData
Data configuration for Cartesian charts (line, bar, area, scatter).
CartesianChartPainter
Painter for Cartesian charts (line, bar, area, scatter).
CartesianSeries<T extends DataPoint>
Base class for Cartesian chart series (line, bar, area, scatter).
CatmullRomInterpolator
Catmull-Rom spline interpolation.
ChartAccessibility
Unified accessibility helper for charts.
ChartAnimation
Configuration for chart animations.
ChartAnimationPresets
Preset animation configurations for common use cases.
ChartAxis<T>
A standalone axis widget that can be used with any chart.
ChartCacheManager
Central cache manager for chart rendering.
ChartController
Controller for managing chart state.
ChartCurves
Modern easing curves inspired by Material Design 3.
ChartData
Base class for all chart data configurations.
ChartErrorBoundary
A widget that catches errors during chart rendering and displays a fallback UI.
ChartErrorReporter
Abstract interface for error reporting services.
ChartGestureDetector
Widget that handles chart gesture detection.
ChartHitTester
Hit tester for finding data points at a position.
ChartInteractions
Configuration for chart interactions.
ChartLayoutHelper
Common chart layout calculations.
ChartLegend
A standalone legend widget for charts.
ChartLogEntry
A log entry containing all relevant information about a log event.
ChartLogger
Abstract logger interface for chart logging.
ChartPainter
Base class for all chart painters.
ChartPathCache
Global path cache instance.
ChartPlugin
Base interface for chart plugins.
ChartPluginManager
Manager for plugins attached to a specific chart.
ChartPools
Global pools for chart rendering.
ChartRenderer<T>
Base interface for all chart renderers.
ChartResponsiveUtils
Static utility methods for responsive charts.
ChartSemantics
Provides semantic information for charts to support screen readers.
ChartSeries<T>
Base class for all chart series.
ChartSpatialIndex
A spatial index specifically designed for chart hit testing.
ChartTextCache
Global text cache instance.
ChartTextScaling
Utilities for accessible text scaling in charts.
ChartTheme
InheritedWidget for providing chart theme to descendants.
ChartThemeData
Theme data for charts.
ChartTooltipOverlay
Modern tooltip overlay with smooth animations and accurate positioning.
ChartViewport
Represents the visible viewport of a chart.
ChartZoomControls
A widget that provides zoom control buttons for a chart.
CircularChartBuilder
Builder for circular chart configurations.
CircularChartConfig
Base configuration for circular charts (pie, donut, radial, etc.).
CircularChartData
Data configuration for circular charts (pie, donut).
CircularChartPainter
Painter for circular charts (pie, donut).
CircularSegment
Data for a circular chart segment.
CircularSeries<T>
Base class for circular chart series (pie, donut).
ColorPalette
A palette of colors for chart series.
CompositeChartLogger
A composite logger that forwards logs to multiple loggers.
CompositeErrorReporter
A composite reporter that forwards reports to multiple reporters.
ContrastIssue
Represents a contrast issue found during validation.
ContrastValidator
Validates color contrast ratios for accessibility compliance.
CoordinateTransform
Transforms coordinates between data space and screen space.
CurveInterpolator
Abstract interface for curve interpolation.
DataBounds
Represents the bounds of a dataset.
DataDecimator
Utilities for reducing data point count while preserving visual appearance.
DataExportConfig
Configuration for data export.
DataExportService
Service for exporting chart data to various formats.
DataPipeline<X extends num, Y extends num>
A data processing pipeline for efficient large dataset handling.
DataPoint<X, Y>
A generic data point representing a single value in a chart.
DataPointIndex
Represents an index into a specific data point.
DataPointInfo
Information about a data point (for hover, selection, tooltip).
DataValidator
Utilities for validating chart data to prevent rendering errors.
DecimationConfig
Configuration for automatic decimation.
DefaultChartLogger
Default logger that prints to console in debug mode.
DefaultErrorReporter
Default error reporter that logs errors using ChartLogger.
DensityConfig
Configuration for chart density and spacing.
DensityProvider
Provider for density configuration to descendant widgets.
DirtyChange
Represents a single dirty change for tracking.
DirtyRegionTracker
Tracks which regions of the chart need to be repainted.
DonutChart
A donut chart widget (pie chart with a hole in the center).
DumbbellChart
A dumbbell chart widget.
DumbbellChartData
Data configuration for dumbbell chart.
DumbbellItem
A single dumbbell item showing two connected points.
ErrorContext
Context information for error reports.
ErrorReport
An error report containing all information about an error.
ExportableChart
Widget wrapper that enables chart export.
ExportableSeries<X, Y>
A data series for export containing name and data points.
ExportConfig
Configuration for chart exports.
ExportPlugin
Plugin for exporting charts to images.
FilterableLegend
A legend widget that allows filtering series visibility.
FilterableLegendConfig
Configuration for filterable legend behavior.
FilteredChartLogger
A logger that filters logs based on tags.
FilteredErrorReporter
A reporter that filters reports based on criteria.
FocusIndicatorProvider
Provider for focus indicator style.
FocusIndicatorRenderer
Renders visual focus indicators for accessibility.
FocusIndicatorStyle
Style configuration for focus indicators.
FunnelChart
A funnel chart widget.
FunnelChartData
Data configuration for funnel chart.
FunnelSection
A single section in the funnel chart.
GanttChart
A Gantt chart widget.
GanttChartData
Data configuration for Gantt chart.
GanttDependency
A dependency relationship between two tasks.
GanttDependencyFactory
Factory methods for creating common dependency configurations.
GanttDependencyUtils
Utility class for working with dependencies.
GanttExporter
Utility class for exporting Gantt charts.
GanttInteractionConfig
Configuration for Gantt chart interactions.
GanttInteractionController
Controller for Gantt chart interactions.
GanttResource
Resource definition for resource-based views.
GanttScheduler
Calculates project schedules using the Critical Path Method (CPM).
GanttScheduleResult
Result of schedule calculation.
GanttTask
A task in the Gantt chart.
GanttValidationError
A validation error.
GanttValidationResult
Result of Gantt chart data validation.
GanttValidationWarning
A validation warning.
GanttValidator
Validates Gantt chart data and detects issues.
GanttViewController
Controller for Gantt chart view settings.
GaugeChart
Gauge chart widget.
GaugeChartData
Data configuration for gauge chart.
GaugeRange
A range segment for the gauge chart.
GpuRenderingHints
Provides GPU rendering optimization hints and utilities.
GridConfig
Configuration for grid rendering.
GridFactory
Factory for creating common grid configurations.
GridIndex<T>
A simple grid-based spatial index for uniform distributions.
GridRenderer<X, Y>
Renderer for chart grid lines.
GridStyle
Grid style configuration.
HeatmapChart
A heatmap chart widget.
HeatmapChartData
Data configuration for heatmap chart.
HeatmapColorScale
Color scale configuration for heatmap.
HeatmapDataPoint<X, Y, V extends num>
A data point for heatmap charts.
HierarchicalDataPoint<T>
A data point for hierarchical charts (treemap, sunburst).
HighContrastColors
High contrast color schemes for accessibility.
HighContrastConfig
Configuration for high contrast mode.
HighContrastProvider
Widget that provides high contrast mode context.
HistogramBin
A single bin in the histogram.
HistogramChart
A histogram chart widget.
HistogramChartData
Data configuration for histogram chart.
HitTestableRenderer
Interface for renderers that support hit testing.
HitTestInfo<T>
Information about a hit test result.
HoverEffectPainter
Helper class for creating hover effect painters.
InteractiveRenderer
Interface for renderers that support interaction.
LayeredDirtyRegionTracker
Manages dirty regions across multiple chart layers.
LayeredRenderer
A layered rendering system for proper z-ordering.
LegendBuilder
Builder for creating legends programmatically.
LegendConfig
Configuration for legend rendering.
LegendFactory
Factory for creating common legend configurations.
LegendItem
A single item in the legend.
LegendRenderer
Renderer for chart legends.
LinearInterpolator
Linear interpolation - straight line segments between points.
LinearScale
A continuous numeric scale using linear interpolation.
LineChart
A line chart widget.
LineChartData
Data configuration for line charts.
LinePainter
Painter for line series.
LinePainterFactory
Factory for creating line painters.
LineSeries<X, Y extends num>
A series for line charts.
LineSeriesConfig
Configuration for line series rendering.
LiveRegionController
Controller for managing screen reader announcements in charts.
LiveRegionProvider
Provider for LiveRegionController to descendant widgets.
LiveRegionWidget
Widget that wraps content with live region support.
LogScale
A logarithmic scale for data that spans multiple orders of magnitude.
LollipopChart
A lollipop chart widget.
LollipopChartData
Data configuration for lollipop chart.
LollipopItem
A single lollipop item.
LRUCache<K, V>
A generic LRU (Least Recently Used) cache.
MarkerConfig
Configuration for a marker.
MarkerFactory
Factory for creating common marker configurations.
MarkerPresets
Preset marker configurations.
MarkerRegistry
A registry for custom marker shapes.
MarkerRenderer
Renderer for data point markers.
MarkerShapes
Built-in marker shapes library.
MiniZoomControls
A compact mini zoom control with just +/- buttons.
MonotoneCubicInterpolator
Monotone cubic interpolation (Fritsch-Carlson method).
MultiLevelCache<K, V>
A multi-level cache that checks faster caches first.
MultiSeriesDataPipeline<X extends num, Y extends num>
Multi-series data pipeline for charts with multiple data series.
NumberLabelCache
Formats and caches number labels for axes.
ObjectPool<T>
Generic object pool for reusing expensive objects.
OHLCDataPoint<X>
A data point for OHLC (Open-High-Low-Close) financial charts.
OptimizedColors
Default colors optimized for visibility.
OptimizedRectDrawer
Optimizes rect drawing for grids and backgrounds.
OrientationAwareBuilder
Widget that rebuilds when orientation changes.
OrientationAwareConfig
Configuration utilities for orientation-aware chart layouts.
OrientationResponsiveConfig
Configuration that combines responsive and orientation settings.
OrientationResponsiveProvider
Provider for orientation-responsive configuration.
PaintCache
Cache for reusable Paint objects.
PaintPool
Specialized pool for Paint objects.
PathCache
Cache for computed paths.
PathExtractor
Extracts a portion of a path for animation purposes.
PathPool
Specialized pool for Path objects.
PatternPainter
Utility for applying patterns to chart elements.
PieChart
A pie chart widget.
PieChartData
Data configuration for a pie chart.
PieSection
A section in a pie/donut chart.
PluginContext
Context provided when a plugin is attached.
PluginDataContext
Context provided when data changes.
PluginPaintContext
Context provided during paint operations.
PluginRegistry
Registry for managing chart plugins.
PolarChartData
Data configuration for polar charts (radar).
PolarChartPainter
Painter for polar charts (radar).
PolarCoordinateTransform
Coordinate transform for polar/radial charts.
PolarSeries<T extends DataPoint<dynamic, num>>
Base class for polar chart series (radar).
PoolScope
A scoped resource manager that automatically releases pooled objects.
PyramidChart
A pyramid chart widget.
PyramidChartData
Data configuration for pyramid chart.
PyramidSection
A single section in the pyramid chart.
QuadTree<T>
A Quadtree implementation for efficient 2D spatial queries.
RadarChart
Radar/Spider chart widget.
RadarChartData
Data configuration for radar chart.
RadarSeries
A single data series for the radar chart.
RadialBarChart
A radial bar chart widget.
RadialBarChartData
Data configuration for radial bar chart.
RadialBarItem
A single bar item in the radial bar chart.
RangeChart
A range chart widget.
RangeChartData
Data configuration for range chart.
RangeDataPoint<X, Y extends num>
A data point for range/area charts with high and low values.
RangeItem
A single range item showing min/max values.
RateLimitedErrorReporter
A reporter with rate limiting to prevent flooding.
RendererConfig
Configuration for visual elements.
RendererGroup
A composable group of renderers.
RendererHitResult
Result of hit testing on a renderer.
ResponsiveBreakpoints
Responsive breakpoint definitions.
ResponsiveBuilder
Helper for conditionally rendering widgets based on device class.
ResponsiveChartConfig
Responsive configuration for chart elements.
ResponsiveChartProvider
A widget that provides responsive configuration to descendant widgets.
ResponsiveChartTheme
Unified responsive theme provider for charts.
ResponsiveChartThemeData
Data class containing all theme configuration.
ResponsiveChartWrapper
A widget that wraps charts with responsive configuration.
ResponsiveLayoutBuilder
Builder widget that provides both constraints and responsive config.
RoseChart
A rose/polar chart widget.
RoseChartData
Data configuration for rose/polar chart.
RoseSegment
A single segment in the rose chart.
SankeyChart
A Sankey diagram widget.
SankeyChartData
Data configuration for Sankey chart.
A link/flow between two nodes.
SankeyLinkPosition
Computed position for a Sankey link.
SankeyNode
A node in the Sankey diagram.
SankeyNodePosition
Computed position for a Sankey node.
Scale<T>
Abstract scale interface for mapping values between domains.
ScaledTextMetrics
Helper class for calculating text metrics with scaling.
ScatterChart
A scatter chart widget.
ScatterChartData
Data configuration for a scatter chart.
ScatterDataPoint<X, Y extends num>
A data point for scatter charts with optional size.
ScatterSeries<X, Y extends num>
A data series for scatter charts.
SemanticChartWrapper
Widget that wraps a chart with semantic information.
SeriesConfig
Base configuration for series rendering.
SeriesDescription
Description of a chart series for accessibility.
SeriesPainter<T extends SeriesConfig>
Abstract base class for series painters.
SeriesPainterManager
Manager for multiple series painters.
SeriesPathKey
Cache key for series paths.
SizedDataPoint<X, Y extends num>
A data point with additional numeric value for bubble/sized charts.
SlopeChart
A slope chart widget.
SlopeChartData
Data configuration for slope chart.
SlopeItem
A single slope item showing change between two time points.
SparklineChart
A compact sparkline chart widget.
SparklineChartData
Data configuration for sparkline chart.
SparklineMarker
Marker configuration for sparkline endpoints.
SpatialIndex<T>
Abstract interface for spatial indexing.
StaggeredAnimationController
Controller for managing multiple staggered animations.
StepChart<X, Y extends num>
A step chart widget.
StepChartData<X, Y extends num>
Data configuration for step chart.
StepInterpolator
StepSeries<X, Y extends num>
A series of data for the step chart.
SunburstArc
Represents a positioned arc in the sunburst.
SunburstChart
A sunburst chart widget.
SunburstChartData
Data configuration for sunburst chart.
SunburstNode
A node in the sunburst hierarchy.
TaskDragResult
Result of a task drag operation.
TaskResizeResult
Result of a task resize operation.
TaskSchedule
Scheduling result for a single task.
TextCache
Specialized cache for TextPainter objects.
TextLayoutKey
Cache key for text layouts.
TextRenderer
Manages text rendering with automatic caching.
TextScalingConfig
Configuration for text scaling behavior.
TextScalingProvider
Provider for text scaling configuration.
TimedCache<K, V>
A cache with time-based expiration.
TimeScale
A time scale for DateTime values.
TooltipConfig
Configuration for chart tooltips.
TooltipData
TooltipEntry
TooltipPositioner
Modern tooltip positioner with smart edge detection and 100% accurate arrow.
TooltipPositionResult
Result of tooltip positioning calculation.
TouchTargetConfig
Configuration for touch target sizing to meet accessibility requirements.
TreemapBorderConfig
Configuration for treemap borders.
TreemapChart
A treemap chart widget.
TreemapChartData
Data configuration for treemap chart.
TreemapNode
A node in the treemap hierarchy.
TreemapRect
Represents a positioned rectangle in the treemap.
ViewportChange
Describes what changed in a viewport update.
ViewportChangeTracker
Tracks viewport changes for intelligent cache invalidation.
WaterfallChart
A waterfall chart widget.
WaterfallChartData
Data configuration for waterfall chart.
WaterfallItem
A single item in the waterfall chart.
ZoomConfig
Configuration for zoom behavior.
ZoomControls
Widget that adds zoom controls to a chart.
ZoomControlStyle
Style configuration for zoom controls.
ZoomPlugin
Plugin for zooming and panning charts.

Enums

AnimationType
Types of chart animations.
ArcLabelPosition
Position for arc labels.
AxisPosition
Positions for axes.
AxisType
Types of axis scales.
BarDirection
Direction of the bars.
BarGrouping
Configuration for bar positioning and sizing.
BarOrientation
Orientation for bars.
BoxPlotOrientation
Orientation for box plot.
BubbleLabelPosition
Label position for bubble labels.
BubbleSizeScaling
Bubble size scaling method.
BulletOrientation
Orientation for bullet chart.
CandlestickStyle
Style for candlestick rendering.
ChartAlignment
Alignment options within a position.
ChartDensity
Chart density levels for different use cases.
ChartLogLevel
Log level for chart logging.
ChartPattern
Patterns for distinguishing data series in high contrast mode.
ChartPosition
Position options for chart components.
ContrastLevel
WCAG 2.1 contrast level requirements.
CurveType
Types of curve interpolation.
DataExportFormat
Format for data export.
DecimationMode
Decimation mode for automatic algorithm selection.
DependencyType
Types of task dependencies in project management.
DeviceClass
Device class categories based on screen width.
DirtyChangeType
Types of dirty changes for fine-grained tracking.
DumbbellOrientation
Orientation of the dumbbell chart.
ErrorSeverity
Severity level for error reporting.
ExportFormat
Export format options.
FocusShape
Shape options for focus indicators.
FunnelLabelPosition
Position of labels in funnel chart.
FunnelMode
Mode for funnel section sizing.
FunnelOrientation
Orientation for funnel chart.
GanttErrorCode
Error codes for Gantt validation.
GanttViewMode
View mode for the Gantt chart time scale.
GanttWarningCode
Warning codes for Gantt validation.
GradientDirection
Direction for gradient rendering.
HistogramBinningMethod
Binning method for histogram.
HistogramMode
Mode for histogram display.
LabelPosition
Positions for labels in circular charts.
LegendLayout
Layout style for the legend.
LegendPosition
Legend positions.
LineCurveType
Types of line curves.
LineRenderStrategy
Strategy for rendering lines.
LiveRegionPoliteness
Politeness levels for screen reader announcements.
LollipopMarkerShape
Shape of the lollipop marker.
LollipopOrientation
Orientation of the lollipop chart.
MarkerShape
Shapes for data point markers.
PanAxis
Axes along which panning can occur.
PieLabelConnector
Style of label connector lines.
PieLabelPosition
Position of pie chart labels.
PyramidLabelPosition
Position of labels in pyramid chart.
PyramidMode
Mode for pyramid section sizing.
RadarGridType
Grid line type for radar chart.
RadialBarLabelPosition
Label position for radial bar labels.
RangeOrientation
Orientation of the range chart.
RenderLayer
Render layer ordering for proper z-index.
RenderQuality
Rendering quality levels.
ResizeEdge
Edge being resized on a task bar.
SankeyAlignment
Alignment options for Sankey nodes.
ScatterPointShape
Shape of scatter chart points.
SnapMode
Snap mode for drag operations.
SparklineReferenceType
Reference line type for sparkline.
SparklineType
Type of sparkline visualization.
StepPosition
Step interpolation for step charts.
SunburstLabelPosition
Label position for sunburst arcs.
TaskConstraint
Task constraint types for scheduling.
TaskSortField
Sort field for tasks.
TaskType
Task type for rendering and behavior.
TooltipBehavior
Behavior for showing tooltips.
TooltipPosition
TreemapLabelPosition
Label position for treemap nodes.
TreemapLayoutAlgorithm
Layout algorithm for treemap.
WaterfallItemType
Type of waterfall item.
WaterfallValuePosition
Position of value labels on waterfall bars.
ZoomAxis
Axes along which zooming can occur.
ZoomControlOrientation
Orientation of zoom controls.
ZoomControlPosition
Position of zoom controls within the chart.

Mixins

AnimatedSeriesMixin<T extends SeriesConfig>
Mixin for animated series.
AreaFillMixin<T extends SeriesConfig>
Mixin for series that support area fills.
ChartAccessibilityMixin<T extends StatefulWidget>
Mixin for charts that support accessibility features.
ChartAnimationMixin<T extends StatefulWidget>
Mixin for widgets that support chart animations.
ChartGestureMixin<T extends StatefulWidget>
Mixin for charts that need gesture handling.
ChartHoverAnimationMixin<T extends StatefulWidget>
Mixin for hover micro-interactions on chart elements.
ChartResponsiveMixin<T extends StatefulWidget>
Mixin providing responsive behavior for chart widgets.
ChartTooltipMixin<T extends StatefulWidget>
Mixin for charts with tooltip support.
ChartWidgetMixin<T extends StatefulWidget>
Mixin providing common chart widget functionality.
CurvedSeriesMixin<T extends SeriesConfig>
Mixin for series that support interpolated curves.
GradientMixin
Mixin for series that support gradient fills.
HighContrastMixin
Mixin for charts that support high contrast mode.
LayerCachingMixin
Mixin for painters that support layer caching.
PluginAwareMixin<T extends StatefulWidget>
Mixin for widgets that support plugins.
RendererMixin<T>
Mixin providing common renderer functionality.
ResponsiveChartMixin<T extends StatefulWidget>
Mixin for widgets that need responsive configuration.
ResponsiveChartThemeMixin<T extends StatefulWidget>
Mixin for widgets that use responsive theme.
ShadowMixin
Mixin for series that support shadow rendering.
TextScalingMixin<T extends StatefulWidget>
Mixin for widgets that need text scaling support.
ViewportCullingMixin<T extends SeriesConfig>
Mixin for viewport-aware data culling.

Extensions

AccessibilityDescriptionExtension on List<DataPointInfo>
Extension to generate accessibility descriptions for common data patterns.
AdvancedDecimatorExtension on List<DataPoint<X, Y>>
Extension methods for easy decimation of data point lists.
ChartColorAccessibility on List<Color>
Extension for validating chart colors against a background.
ChartErrorReporting on Object
Extension methods for easy error reporting.
ChartResponsivePainterExtension on Size
Extension for easy access to responsive values in painters.
ChartThemeExtension on BuildContext
Extension for easy access to chart theme from BuildContext.
ColorContrastExtension on Color
Extension for easy contrast checking on colors.
ColorsLegendExtension on List<Color>
Extension for creating legends from color lists.
ConfigHashCombiner on int
Extension for combining multiple config hashes.
DataDecimatorExtension on List<DataPoint<X, Y>>
Extension methods for data point lists.
DataExportExtension on List<ExportableSeries<X, Y>>
Extension methods for easy data export on series lists.
DataPointListValidation on List<DataPoint<X, Y>>
Extension methods for list of data points.
DataPointValidation on DataPoint<X, Y>
Extension methods for data point validation.
DensityContextExtension on BuildContext
Extension for easy access to theme's visual density.
DependencyTypeExtension on DependencyType
Extension methods for DependencyType.
DirtyRegionCanvas on Canvas
Extension to optimize canvas operations based on dirty regions.
ExportExtension on BuildContext
Extension for easy export access.
FilterableLegendExtension on ChartController
Extension for creating filterable legends from chart data.
HighContrastExtension on MediaQueryData
Extension for checking system high contrast settings.
LiveRegionContextExtension on BuildContext
Extension for easy access to live region controller.
OrientationContextExtension on BuildContext
Extension for orientation utilities on BuildContext.
RenderQualityPaint on Paint
Applies quality settings to a paint object.
ResponsiveChartThemeExtension on BuildContext
Extension for easy access to responsive theme.
ResponsiveConstraintsExtension on BoxConstraints
Extension for responsive configuration on BoxConstraints.
ResponsiveContextExtension on BuildContext
Extension for responsive configuration on BuildContext.
ScaleAxisExtension on Scale<T>
Extension to create axis builders from scales.
TextScalingContextExtension on BuildContext
Extension for text scaling on BuildContext.
ZoomExtension on BuildContext
Extension for easy zoom plugin access.

Functions

lerpDouble(double a, double b, double t) double
Utility function for linear interpolation.
toSemanticDataPointInfo(DataPointInfo info) → DataPointInfo
Converts a DataPointInfo from chart_controller to series_painter format.

Typedefs

CoordinateMapper = Offset Function(double x, double y)
Function type for mapping data coordinates to screen coordinates.
ErrorReportHandler = FutureOr<void> Function(ErrorReport report)
Callback type for error report handlers.
SeriesDataGetter = List<DataPoint<dynamic, num>> Function(LineSeries<dynamic, num> series, int seriesIndex)
Type for getting decimated series data.
TaskFilter = bool Function(GanttTask task)
Filter for task visibility.
ZoomChangeCallback = void Function(double scale, Offset offset)
Callback for zoom changes.

Exceptions / Errors

ChartException
Custom exception for chart-related errors.
ChartRenderException
Exception thrown when chart rendering fails.
InvalidChartConfigException
Exception thrown when chart configuration is invalid.
InvalidChartDataException
Exception thrown when chart data is invalid.
PluginException
Exception thrown for plugin-related errors.