Skip to content
pubscout

syncfusion_officechart

35.2.12, released 3 days ago by syncfusion.com

Create Excel charts programmatically in XLSX format without a UI.

WASM-ready
$ flutter pub add syncfusion_officechart
Source repository

What it does

Syncfusion Flutter OfficeChart is a non-UI library written natively in Dart for creating Excel charts from scratch. It allows developers to generate XLSX files containing pie, column, bar, line, and stacked charts along with various chart elements.

AI-written summary of version 35.1.43, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to programmatically generate Excel files containing charts from a Flutter application.
  • You are already using Syncfusion's XlsIO library to export spreadsheet data and need to add visual charts to those sheets.

Skip it when

  • You need interactive UI widgets to display charts inside your Flutter app's user interface.
  • You cannot use commercial or Syncfusion community-licensed packages in your project.

Strengths

  • Supports multiple chart types including pie, column, bar, line, and stacked variants.
  • Operates entirely natively in Dart without relying on external native binaries for document generation.
  • Integrates seamlessly with syncfusion_flutter_xlsio.

Weaknesses

  • It is a commercial package requiring a proper Syncfusion license.
  • It is strictly for file generation (non-UI) rather than displaying charts on-screen.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
3

Requires a Syncfusion Commercial or Community license.

final Workbook workbook = Workbook();
final Worksheet sheet = workbook.worksheets[0];
sheet.getRangeByName('A1').setText('John');
sheet.getRangeByName('B1').setNumber(10);
final ChartCollection charts = ChartCollection(sheet);
final Chart chart = charts.add();
chart.chartType = ExcelChartType.column;
chart.dataRange = sheet.getRangeByName('A1:B1');
sheet.charts = charts;
List<int> bytes = workbook.saveAsStream();
workbook.dispose();

Alternatives

Packages that do the same job and could replace syncfusion_officechart.

  • k_chart

    A Flutter K-line and depth chart widget with drag, scale, and technical indicators.

  • radar_chart_plus

    A customizable radar and spider chart widget for Flutter applications.

  • material_charts

    A flutter library for creating and manage industrial standard charts

  • pie_chart

    A Flutter widget for rendering animated pie charts and ring charts from data maps.

Works with

Packages commonly used together with syncfusion_officechart: ones it builds on, ones built on it, and its own family.