syncfusion_officechart
35.2.12, released 3 days ago by syncfusion.com
Create Excel charts programmatically in XLSX format without a UI.
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.
47Compare - radar_chart_plus
A customizable radar and spider chart widget for Flutter applications.
55Compare - material_charts
A flutter library for creating and manage industrial standard charts
55Compare - pie_chart
A Flutter widget for rendering animated pie charts and ring charts from data maps.
50Compare
Works with
Packages commonly used together with syncfusion_officechart: ones it builds on, ones built on it, and its own family.
- archivesyncfusion_officechart depends on itEncodes and decodes archive and compression formats such as zip, tar, gzip, and zlib.
- xmlsyncfusion_officechart depends on itFull-featured XML and XPath library for DOM parsing, SAX streaming, and fluent building.
- syncfusion_flutter_xlsiosyncfusion_officechart depends on itCreate, format, and manipulate Excel documents programmatically in Dart and Flutter.
- syncfusion_flutter_coreSame familyCore dependency for Syncfusion Flutter widgets, providing shared functionality.
- syncfusion_flutter_pdfSame familyNative Dart library for creating, reading, editing, and securing PDF files.
- syncfusion_flutter_chartsSame familyA comprehensive charting library for creating cartesian, circular, and spark charts.
- syncfusion_flutter_signaturepadSame familyWidget to capture smooth hand-drawn signatures and export them as images.
- syncfusion_flutter_pdfviewerSame familyFlutter PDF Viewer library to display PDF documents seamlessly and efficiently.