# syncfusion_flutter_charts **Repository Path**: zxfcool/syncfusion_flutter_charts ## Basic Information - **Project Name**: syncfusion_flutter_charts - **Description**: syncfusion_flutter_charts - **Primary Language**: Dart - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-13 - **Last Updated**: 2024-11-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README  # Syncfusion Flutter Charts Syncfusion Flutter Charts is a data visualization library written natively in Dart for creating beautiful and high-performance charts, which are used to craft high-quality mobile app user interfaces using Flutter. ## Overview Create various types of cartesian or circular charts with seamless interaction, responsiveness, and smooth animation. It has a rich set of features, and it is completely customizable and extendable. **Disclaimer:** This is a commercial package. To use this package, you need to have either Syncfusion Commercial License or Syncfusion Community license. For more details, please check the [LICENSE](https://github.com/syncfusion/flutter-examples/blob/master/LICENSE) file. **Note:** Our packages are now compatible with Flutter for Web. However, this will be in Beta until Flutter for Web becomes stable. ## Table of contents - [Chart features](#chart-features) - [Get the demo application](#get-the-demo-application) - [Useful links](#useful-links) - [Installation](#installation) - [Getting started](#getting-started) - [Add chart to the widget tree](#add-chart-to-the-widget-tree) - [Bind data source](#bind-data-source) - [Add chart elements](#add-chart-elements) - [Support and Feedback](#support-and-feedback) - [About Syncfusion](#about-syncfusion) ## Chart features * **Chart types** - Provides functionality for rendering 25+ chart types, namely line, spline, column, bar, area, bubble, scatter, step line, fast line, range column, range area, step area, spline area, stacked charts, 100% stacked charts, pie, doughnut, radial bar, pyramid, funnel, etc. Each chart type is easily configured and customized with built-in features for creating stunning visual effects.  * **Axis types** - Plot various types of data in a graph with the help of numeric, category, date-time and log axis types. The built-in axis features allow to customize an axis elements further to make the axis more readable.  * **User interaction** - The end-user experience is greatly enhanced by including the user interaction features such as zooming and panning, crosshair, trackball, events, selection, and tooltip in chart.  * **Legends** - Display additional information about the chart series. The chart legend can also be used to collapse the series. The legends can be wrapped or scrolled if an item exceeds the available bounds.  * **Dynamic update** - Updates the chart dynamically with live data that changes over seconds or minutes like stock prices, temperature, speed, etc.  ## Get the demo application Explore the full capabilities of our Flutter widgets on your device by installing our sample browser applications from the below app stores, and view samples code in GitHub.
## Other useful links Take a look at the following to learn more about Syncfusion Flutter charts: * [Syncfusion Flutter Charts product page](https://www.syncfusion.com/flutter-widgets/flutter-charts) * [User guide documentation](https://help.syncfusion.com/flutter/chart/overview) * [Video tutorials](https://www.syncfusion.com/tutorial-videos/flutter/charts) * [Knowledge base](https://www.syncfusion.com/kb) ## Installation Install the latest version from [pub](https://pub.dartlang.org/packages/syncfusion_flutter_charts#-installing-tab-). ## Getting started Import the following package. ```dart import 'package:syncfusion_flutter_charts/charts.dart'; ``` ### Add chart to the widget tree Add the chart widget as a child of any widget. Here, the chart widget is added as a child of container widget. ```dart @override Widget build(BuildContext context) { return Scaffold( body: Center( child: Container( child: SfCartesianChart( ) ) ) ); } ``` ### Bind data source Based on data, initialize the appropriate axis type and series type. In the series, map the data source and the fields for x and y data points. To render a line chart with category axis, initialize appropriate properties. ```dart @override Widget build(BuildContext context) { return Scaffold( body: Center( child: Container( child: SfCartesianChart( // Initialize category axis primaryXAxis: CategoryAxis(), series: