搜索插件、代码仓与 APP 分类

fl_chart 封面
插件详情v1.3.1

fl_chart

一个高度可定制的 Flutter 图表库,支持折线图、柱状图、饼图、散点图和雷达图。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
240万
喜欢数
7210
Pub 分数
160

安装插件

flutter pub add fl_chart

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

fl_chart 是一个高度可定制的 Flutter 库,用于创建交互式且视觉效果出色的图表。它支持多种图表类型,包括折线图、柱状图、饼图、散点图和雷达图,非常适合在应用程序中进行数据可视化。该库注重性能和灵活性,提供丰富的自定义选项,涵盖颜色、标签、动画和触摸交互。fl_chart 持续维护,并兼容所有主要平台:Android、iOS、Web、macOS、Windows 和 Linux。凭借简洁的 API 和全面的文档,fl_chart 能够简化复杂图表在 Flutter 应用中的集成。

适合场景

  • 显示实时数据趋势
  • 可视化用户分析
  • 展示财务或销售数据
  • 创建交互式仪表板
  • 教育数据表示

主要特点

  • 支持 5 种图表类型
  • 高度可定制的外观
  • 内置动画和手势
  • 跨平台兼容性
  • 轻量且高效
  • 丰富的配置选项

适合对象

  • 数据驱动的应用程序
  • 仪表板和报告工具
  • 移动和网络分析
  • 教育和生产力应用
  • 原型设计交互式可视化

使用建议

  • 需要了解图表特定的配置
  • 可能需要针对大型数据集进行优化
  • 自定义样式可能会增加复杂性
  • 有限的内置工具提示(需要自定义实现)
  • 不太适合极其复杂的科学可视化

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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.

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目

所在榜单