MCPInstall

syncfusion-flutter-cartesian-charts

Implements Syncfusion Flutter Cartesian Charts (SfCartesianChart) for a wide range of 2D chart types in Flutter apps. Use when working with line, column, bar, area, spline, scatter, bubble, financial, stacked, or histogram charts. This skill covers axis types (NumericAxis, CategoryAxis, DateTimeAxis), zoom and pan, tooltip, trackball, legend, annotations, technical indicators, trendlines, and chart export.

Installs
55
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-cartesian-charts
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-flutter-cartesian-charts automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Syncfusion Flutter Cartesian Charts

SfCartesianChart is a high-performance Flutter widget from the syncfusion_flutter_charts package that supports 30+ chart types plotted on Cartesian (X/Y) coordinates. It handles real-time data, rich interactivity, and deep customization.

When to Use This Skill

Use this skill when you need to:

  • Render any line, area, column, bar, spline, scatter, or financial chart in Flutter
  • Configure axis types (numeric, category, date-time, logarithmic)
  • Add zooming, panning, tooltip, trackball, or crosshair interaction
  • Customize series appearance (colors, gradients, markers, data labels)
  • Add annotations, technical indicators, or trendlines
  • Export charts or respond to chart callbacks
  • Support RTL, localization, or accessibility

Component Overview

The SfCartesianChart widget is a comprehensive charting solution that displays data using Cartesian (X/Y) coordinates. It supports over 30 chart types across multiple categories:

  • Line Charts: Line, fast line, spline (various tension types), step line
  • Area Charts: Area, spline area, step area, range area, spline range area, stacked area (including 100%)
  • Column/Bar Charts: Column, bar, range column, stacked column/bar (including 100%)
  • Scatter/Bubble: Scatter, bubble charts
  • Financial Charts: Candle, OHLC, HiLo, HiLoOpenClose with support for technical indicators
  • Statistical: Histogram, box and whisker, error bar
  • Waterfall: For cumulative effect visualization

The widget provides five axis types (Numeric, Category, DateTime, DateTimeCategory, Logarithmic), interactive features (zoom, pan, tooltip, trackball, crosshair), selection behaviors, rich customization (markers, data labels, gradients, animations), technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands, etc.), trendlines, annotations, and chart export capabilities.


Quick Start

# Always installs the latest compatible version automatically
flutter pub add syncfusion_flutter_charts

Always install the package via terminal — do not edit pubspec.yaml directly. Run this command from the Flutter project root and wait for it to complete successfully before proceeding.

import 'package:syncfusion_flutter_charts/charts.dart';

class MyChart extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return SizedBox(
      height: 300,
      child: SfCartesianChart(
        primaryXAxis: CategoryAxis(),
        title: ChartTitle(text: 'Monthly Sales'),
        legend: Legend(isVisible: true),
        tooltipBehavior: TooltipBehavior(enable: true),
        series: <CartesianSeries>[
          LineSeries<ChartData, String>(
            dataSource: [
              ChartData('Jan', 35),
              ChartData('Feb', 28),
              ChartData('Mar', 34),
              ChartData('Apr', 32),
              ChartData('May', 40),
            ],
            xValueMapper: (ChartData d, _) => d.x,
            yValueMapper: (ChartData d, _) => d.y,
            name: 'Sales',
            dataLabelSettings: DataLabelSettings(isVisible: true),
          ),
        ],
      ),
    );
  }
}

class ChartData {
  ChartData(this.x, this.y);
  final String x;
  final double? y;
}

Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Package installation and import
  • Initialize SfCartesianChart
  • Bind data source and data model
  • Add title, data labels, legend, tooltip
  • Complete minimal working example

Line, Area & Spline Chart Types

📄 Read: references/chart-types-line-area.md

  • Line, fast line, spline (with spline types)
  • Step line, area, spline area
  • Step area, range area, spline range area
  • When to use each type

Column, Bar & Other Cartesian Types

📄 Read: references/chart-types-column-bar.md

  • Column, bar, range column
  • Bubble, scatter, histogram
  • Waterfall, error bar, box and whisker
  • Key configuration for each type

Stacked Chart Types

📄 Read: references/chart-types-stacked.md

  • Stacked area/bar/column/line
  • 100% stacked variants
  • When to choose stacked vs 100% stacked

Financial Chart Types

📄 Read: references/chart-types-financial.md

  • Candle, HILO, OHLC charts
  • Financial data model (open/high/low/close mappers)
  • Hollow candle and solid candle

Axis Types

📄 Read: references/axis-types.md

  • NumericAxis, CategoryAxis, DateTimeAxis
  • DateTimeCategoryAxis, LogarithmicAxis
  • Choosing the right axis for your data

Axis Customization

📄 Read: references/axis-customization.md

  • Title, labels, label format
  • Gridlines, tick marks, range (min/max/interval)
  • Strip lines, multi-level labels
  • Secondary axis, axis crossing, inversed axis

Series Customization

📄 Read: references/series-customization.md

  • Color, border, opacity, gradient fill
  • Dash array, width, point color mapper
  • Animation, palette colors, empty point settings

Legend

📄 Read: references/legend.md

  • Enable and position legend
  • Toggle series visibility via legend
  • Overflow modes (wrap, scroll)
  • Custom legend items and icons

Tooltip, Trackball & Crosshair

📄 Read: references/tooltip-trackball.md

  • TooltipBehavior — enable, format, custom template
  • Shared tooltip across series
  • TrackballBehavior — display modes
  • CrosshairBehavior configuration

Zooming, Panning & Selection

📄 Read: references/zoom-pan-selection.md

  • ZoomPanBehavior — pinch, mouse wheel, directional
  • ZoomMode (x, y, xy), panning
  • Auto-scrolling for live data
  • SelectionBehavior — point, series, cluster, box

Annotations, Markers & Data Labels

📄 Read: references/annotations-markers-datalabels.md

  • CartesianChartAnnotation — text and widget overlays
  • Coordinate units (point vs pixel vs percent)
  • MarkerSettings — shape, size, color
  • DataLabelSettings — position, format, template, connector lines

Technical Indicators & Trendlines

📄 Read: references/technical-indicators-trendlines.md

  • SMA, EMA, TMA, WMA, MACD, RSI, Stochastic
  • Bollinger Bands, ATR, CCI, Momentum, AD, ROC
  • Trendline types (linear, exponential, polynomial, moving average, power, logarithmic)
  • Forecasting periods

Chart Appearance & Multiple Charts

📄 Read: references/chart-appearance.md

  • Background color/image, plot area customization
  • Color palette, theme integration
  • Rendering multiple charts on the same screen
  • On-demand / lazy data loading

Callbacks, Methods, Export & Accessibility

📄 Read: references/callbacks-methods-export.md

  • Key callbacks (onTooltipRender, onDataLabelRender, onZooming, etc.)
  • ChartSeriesController methods (updateDataSource, animate)
  • Export to PNG, PDF, JPEG
  • Localization, RTL, accessibility

Common Patterns

Pattern 1 — Live / Real-Time Data Update

late ChartSeriesController _controller;

onRendererCreated: (ChartSeriesController controller) {
  _controller = controller;
},

void addDataPoint(ChartData newPoint) {
  chartData.add(newPoint);
  _controller.updateDataSource(
    addedDataIndexes: [chartData.length - 1],
  );
}

Pattern 2 — Multiple Series on One Chart

series: <CartesianSeries>[
  LineSeries<ChartData, String>(
    dataSource: data,
    xValueMapper: (d, _) => d.x,
    yValueMapper: (d, _) => d.y1,
    name: 'Revenue',
  ),
  ColumnSeries<ChartData, String>(
    dataSource: data,
    xValueMapper: (d, _) => d.x,
    yValueMapper: (d, _) => d.y2,
    name: 'Cost',
  ),
]

Pattern 3 — Zoom + Tooltip Together

late ZoomPanBehavior _zoom;
late TooltipBehavior _tooltip;

@override
void initState() {
  _zoom = ZoomPanBehavior(enablePinching: true, enableDoubleTapZooming: true);
  _tooltip = TooltipBehavior(enable: true);
  super.initState();
}

zoomPanBehavior: _zoom,
tooltipBehavior: _tooltip,

Key Widget Properties

PropertyTypePurpose
primaryXAxisChartAxisHorizontal axis type and config
primaryYAxisChartAxisVertical axis type and config
seriesList<CartesianSeries>One or more data series
titleChartTitleChart heading text
legendLegendLegend visibility and position
tooltipBehaviorTooltipBehaviorTooltip on tap
zoomPanBehaviorZoomPanBehaviorZoom and pan interaction
selectionTypeSelectionTypePoint/series/cluster selection
annotationsList<CartesianChartAnnotation>Overlay widgets/text
indicatorsList<TechnicalIndicator>Technical analysis overlays
onTooltipRenderChartTooltipCallbackCustomize tooltip text
onZoomingChartZoomingCallbackRespond to zoom events
paletteList<Color>Custom series color palette

FAQ

What does the syncfusion-flutter-cartesian-charts skill do?

Implements Syncfusion Flutter Cartesian Charts (SfCartesianChart) for a wide range of 2D chart types in Flutter apps. Use when working with line, column, bar, area, spline, scatter, bubble, financial, stacked, or histogram charts. This skill covers axis types (NumericAxis, CategoryAxis, DateTimeAxis), zoom and pan, tooltip, trackball, legend, annotations, technical indicators, trendlines, and chart export.

How do I install syncfusion-flutter-cartesian-charts?

Run npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-cartesian-charts in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-flutter-cartesian-charts/ (personal) or .claude/skills/syncfusion-flutter-cartesian-charts/ (project).

Which AI agents can use syncfusion-flutter-cartesian-charts?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-flutter-cartesian-charts safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-flutter-cartesian-charts?

It is published by syncfusion in syncfusion/flutter-ui-components-skills. It has 55 recorded installs.

More from syncfusion/flutter-ui-components-skills

View all →

syncfusion-flutter-calendar-datepicker

syncfusion/flutter-ui-components-skills

Open the skill to read its SKILL.md instructions.

Mobile58 installs

syncfusion-flutter-chat

syncfusion/flutter-ui-components-skills

Implements Syncfusion Flutter Chat (SfChat) and AI AssistView (SfAIAssistView) widgets for conversational interfaces in Flutter apps. Use when building chat UIs, AI chatbot interfaces, or messaging screens with support for message bubbles, composers, and action buttons. This skill covers conversation area customization, placeholder screens, theming, RTL support, and AI assistant integration.

Mobile54 installs

syncfusion-flutter-datagrid

syncfusion/flutter-ui-components-skills

Implements Syncfusion Flutter DataGrid (SfDataGrid) for displaying and manipulating tabular data in Flutter applications. Use when working with data grids, data tables, or column-based data presentation using the syncfusionflutterdatagrid package. This skill covers DataGridSource, GridColumn configuration, sorting, filtering, paging, editing, and selection.

Mobile54 installs

syncfusion-flutter-circular-charts

syncfusion/flutter-ui-components-skills

Open the skill to read its SKILL.md instructions.

Mobile53 installs

syncfusion-flutter-sliders

syncfusion/flutter-ui-components-skills

Implements Syncfusion Flutter Slider controls (SfSlider, SfRangeSlider, SfRangeSelector) for numeric value selection and range inputs. Use when working with single-value sliders, range selection, or chart-range controllers in Flutter apps. This skill covers thumb and tooltip customization, ticks, dividers, RTL support, drag modes, and chart integrations.

Mobile52 installs

syncfusion-flutter-barcode-generator

syncfusion/flutter-ui-components-skills

Implements Syncfusion Flutter Barcode Generator (SfBarcodeGenerator) for generating 1D and 2D barcodes in Flutter apps. Use when working with QR codes, Data Matrix, Code128, EAN, UPC, or other machine-readable barcode formats. This skill covers barcode types, customization, sizing, text display, and integration into product labels, ticketing, or inventory systems.

Mobile51 installs

Popular mobile skills

View category →

design-mobile-apps

designed-by-ai/skills

Design mobile app screens with Sleek, edit Sleek projects, and implement their designs in React Native or HTML.

Mobile1.1M installs

ios-design

uizze.sh

Design and review iOS UI/UX for iPhone apps in SwiftUI, UIKit, or React Native. Use for mobile app design, screen redesigns, navigation flows, typography, forms, keyboard and safe-area layout, and accessibility checks. Apply Apple Human Interface Guidelines and consult real product references through the optional Uizze connection.

Mobile416.5K installs

vercel-react-native-skills

vercel-labs/agent-skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

OfficialMobile256.7K installs

animate-expo

emilkowalski/skills

Build animations in React Native and Expo, making the decisions in the order that determines whether they feel right — should it animate, which thread it runs on, which properties, spring or timing, how the gesture hands off, how it degrades. Writes the implementation with Reanimated, Gesture Handler, Expo Router and expo-haptics. Use when animating anything in an Expo app, adding gestures, sheets, screen transitions, press feedback or haptics, or fixing motion that stutters on device. For web animation use animate.

Mobile140.1K installs

xcode-project-setup

firebase/agent-skills

Safely modifies Xcode projects (.pbxproj) to add Swift Packages and link files. Use this skill whenever an iOS project needs dependencies installed (e.g. Firebase, Alamofire).

OfficialMobile131.2K installs

firebase-remote-config-basics

firebase/agent-skills

Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth, Firestore, Data Connect, Crashlytics, or App Hosting.

OfficialMobile121.7K installs