Token导航 LogoToken导航TokenDH.com
待分类执行命令github未标认证来源可访问许可证需确认审计通过

syncfusion-flutter-cartesian-chartssyncfusion Flutter cartesian charts 命令行

Agent Skill

syncfusion-flutter-cartesian-charts 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

642

周安装

27

GitHub Stars

1

下载量

225
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-flutter-cartesian-charts(syncfusion Flutter cartesian charts 命令行)
来源仓库:https://github.com/syncfusion/flutter-ui-components-skills
仓库路径:skills/syncfusion-flutter-cartesian-charts
安装命令:
npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-cartesian-charts
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

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

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • syncfusion-flutter-cartesian-charts 属于待分类类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

40.32%
按下载量换算91

Claude

28.12%
按下载量换算63

Cursor

18.31%
按下载量换算41

Gemini CLI

9.15%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/syncfusion/flutter-ui-components-skills --skill syncfusion-flutter-cartesian-charts 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills