fincharts library

A Flutter-native financial charting engine for fintech, trading, and investment applications.

Import this single file to use the package:

import 'package:fincharts/fincharts.dart';

Week 1 provides five chart types (see FinancialChartType) rendered by FinancialChart, driven by Candle data, configured via FinancialChartConfig, styled via FinancialChartThemeData, and controlled programmatically via FinancialChartController.

Classes

AreaSeriesStyle
Visual styling for a FinancialChartType.area series.
AxisStyle
Visual styling for the price and time axes.
Candle
A single OHLCV market data point.
CandleStyle
Visual styling for candle bodies and wicks.
ChartViewport
The visible window into a candle series, expressed as fractional data indices rather than pixel offsets.
CrosshairConfig
Configuration for the crosshair overlay.
CrosshairStyle
Visual styling for the crosshair.
DefaultPriceFormatter
The default PriceFormatter.
DefaultTimeLabelFormatter
The default TimeLabelFormatter.
FinancialChart
A financial chart: candlestick, OHLC, line, area, or volume, rendered entirely with CustomPainter — no per-candle widgets.
FinancialChartConfig
Strongly typed, composable configuration for FinancialChart.
FinancialChartController
Programmatic control over a FinancialChart's viewport.
FinancialChartThemeData
A complete, composable theme for FinancialChart.
GridStyle
Visual styling for background grid lines.
LineSeriesStyle
Visual styling for a FinancialChartType.line series.
PriceFormatter
Formats a raw price value into a human-readable string for axis labels, tooltips, and crosshair readouts.
TimeLabelFormatter
Formats candle timestamps into axis labels and tooltip headers.
TooltipStyle
Visual styling for the OHLCV tooltip.
VolumeStyle
Visual styling for the volume series.

Enums

CandleDirection
The direction implied by a candle's open/close relationship.
FinancialChartType
The visual style used to render a series of Candle data.
PriceField
Selects which OHLC field of a Candle a single-value series (such as FinancialChartType.line or FinancialChartType.area) should plot.