Search packages, repositories and app categories

fl_chart cover
Package detailsv1.3.0

fl_chart

A highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
2.2M
Likes
7.2K
Pub points
160

Install package

flutter pub add fl_chart

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

fl_chart is a highly customizable Flutter library for creating interactive and visually appealing charts. It supports multiple chart types including Line, Bar, Pie, Scatter, and Radar Charts, making it ideal for data visualization in apps. Designed with performance and flexibility in mind, it offers extensive customization options for colors, labels, animations, and touch interactions. The library is actively maintained and compatible across all major platforms: Android, iOS, Web, macOS, Windows, and Linux. With a clean API and comprehensive documentation, fl_chart simplifies the integration of complex charts into Flutter applications.

Use cases

  • Displaying real-time data trends
  • Visualizing user analytics
  • Presenting financial or sales data
  • Creating interactive dashboards
  • Educational data representation

Key features

  • Supports 5 chart types
  • Highly customizable appearance
  • Built-in animations and gestures
  • Cross-platform compatibility
  • Lightweight and performant
  • Extensive configuration options

Suitable for

  • Data-driven applications
  • Dashboards and reporting tools
  • Mobile and web analytics
  • Educational and productivity apps
  • Prototyping interactive visualizations

Considerations

  • Requires understanding of chart-specific configurations
  • May need optimization for large datasets
  • Custom styling can increase complexity
  • Limited built-in tooltips (requires custom implementation)
  • Not ideal for extremely complex scientific visualizations

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

FL Chart Logo

pub package codecov Awesome Flutter GitHub Repo stars GitHub contributors GitHub closed issues GitHub Sponsors Buy Me A Coffee donate button

Our Financial Heroes

Your financial support acts as fuel for fl_chart's development. Support here.

Become a sponsor
Overview

FL Chart is a highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.

Chart Types
LineChart BarChart PieChart
Read More Read More Read More
ScatterChart RadarChart CandlestickChart
Read More Read More Read More

Banner designed by Soheil Saffar, and samples inspired from David Kovalev, Ricardo Salazar, Dmitro Petrenko, Ghani Pradita, MONUiXD. Thank you all!

Let's get started

First of all, you need to add the fl_chart in your project. To do that, follow this guide.

Then you need to read the docs. Start from here.

We suggest that you check the sample source code.

- You can read about the animation handling here
Sample1 Sample2 Sample3
Try it out

You can try the FL Chart sample app on the platforms that are available below:

Get it on Google Play Download on the App Store Try it on Web

Donation

Your donation motivates me to work more on the fl_chart and resolve more issues. There are multiple ways to donate to me:

  1. You can be my sponsor on GitHub (This is the most reliable way to donate to me)
  2. You can buy me a coffee!
  3. Or if you are a fan of crypto, you can donate me Bitcoins here: 1L7ghKdcmgydmUJAnmYmMaiVjT1LoP4a45
Contributing
:beer: Pull requests are welcome!

Remember that open-source projects thrive on contributions. Every improvement—no matter how small—makes a meaningful difference, even if it’s just a single line.

Our documentation may contain grammatical issues, and if you’re fluent in English, your help in correcting them would be greatly appreciated.

Check out CONTRIBUTING.md, which contains a guide for those who want to contribute to the FL Chart.

Reporting bugs and issues is also a contribution, yes, it is.

Below are the people who have contributed to the FL Chart. We hope we have your picture here soon.

Categories

Dependencies

Dependency list 2 items

Source repository

Projects using this package

Rankings