A powerful Flutter chart library, currently supporting Line Chart, Bar Chart, Pie Chart, Scatter Chart and Radar Chart.

Overview

FL Chart

pub package APK

FL Chart Logo

💥 A library to draw fantastic charts in Flutter 💥

Chart Types

LineChart BarChart PieChart
Read More Read More Read More
ScatterChart RadarChart Coming Soon
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

1 - Depend on it

Add it to your package's pubspec.yaml file
dependencies:
  fl_chart: ^0.30.0

2 - Install it

Install packages from the command line
flutter packages get

3 - Learn it like a charm

Read the docs from here
- Animations
Sample1 Sample2 Sample3

And the last but not least 🔥

🍺 pull requests are welcome!

💰 Donation (bitcoin) 💰

I work on this project in my free time because I have my personal life and job. You can push me to work more by donating.

1L7ghKdcmgydmUJAnmYmMaiVjT1LoP4a45

Contributing

Check out CONTRIBUTING.md, which contains a guide for those who wish to contribute to FL Chart. Thanks in advance!

Comments
  • added axis titles

    added axis titles

    I implemented the possibility to add axis descriptions to the line charts. You can add text to each axis on the left, right, top and bottom, which will be shown outside of the current axis titles.

    opened by juumixx 32
  • Add more customization to FlSpot;

    Add more customization to FlSpot;

    Added more customization to FlSpot. Ability to set color dynamically if you want different colors for spots, ability to create circles with empty space in the middle.

    Added parameter to not clear touched data. When you touch the chart, you see the indicator line and the tooltip. I added a parameter to optionally not clear this after finger is removed from screen.

    This are some features I needed and maybe somebody else finds them useful.

    Example how this would look:

    example

    opened by tudor07 31
  • Listen to normal tap on Tooltip instead of longpress

    Listen to normal tap on Tooltip instead of longpress

    First of all, thank you for this amazing library <3

    Please provide onTap option with some sort of MoveUpdate to show Tooltip on chart as an alternative to onLongPress

    Looking forward for this library

    enhancement 
    opened by sukhcha-in 26
  • Sticky touch indicator

    Sticky touch indicator

    This time I have placed the boolean on the lineTouchData along with the rest of the touch configuration. Very simple but useful. Please consider merging.

    opened by shamilovtim 24
  • Doesn't work on web

    Doesn't work on web

    It does not render correctly on the web. I know the web is only in technical preview so I didn't expect it to work but it would be nice if it did.

    Render on mobile (good) image

    Render on web (bad) Screen Shot 2019-10-28 at 11 01 46 AM

    bug Web 
    opened by andermoran 24
  • Added option to change shape of line chart dots

    Added option to change shape of line chart dots

    I was looking for a way to change the shape of the dots in the same line depending on a value and I couldn't see support for it. So I went ahead and made it myself.

    Hopefully you find it useful and can merge it.

    It could be easily expanded to use other shapes.

    Let me know if you think I should change anything.

    opened by jlubeck 23
  • Add option to include y distance for nearest touched spot

    Add option to include y distance for nearest touched spot

    Instead of only considering the distance on the x axis when checking for the closest spot, this feature allows to choose the closest spot based on Euclidean distance

    TODO:

    • [x] Write tests

    Fixes #716, #261

    opened by joeldomke 21
  • Performance problem with LineCharts

    Performance problem with LineCharts

    Hi, i am making a Coronatracker app.

    I am implementing a LineChart Widget with the Data for each day. Unbenannt

    The maxY is equal to the tracked days (number of days since 22nd January) The maxX is equal to the highest number of confirmed cases divided by 100000 (working with the absolute number took the chart forever to build)

    Everything works as intended, but it impacts the smoothness of the scrolling of the singlechildscrollview, in which the chart is implemented.

    Do you have any suggestions ?

    enhancement Line Chart 
    opened by Wizzel1 21
  • Implement `clipData` feature in scatter chart.

    Implement `clipData` feature in scatter chart.

    #897.

    The Scatter chart can be used as a Bubble chart by providing different radii. So, when the radius is bigger and close to the axis of the chart, it is used to cross the axis and go out of the chart.

    So, in my approach, I've added a new attribute in ScatterChartData called clipBubble. If we set it to true, it will clip the chart before drawing the spots such that the bubbles never cross the chart's axes. After the bubbles are drawn, it again restores the original region.

    opened by prajwal27 20
  • Add a git hook to enforce dartfmt on the project and/or lint

    Add a git hook to enforce dartfmt on the project and/or lint

    New PRs are causing whitespace issues due to formatter requirements not being followed. It's looking like a git hook call to dart formatter is going to be necessary and possibly linting

    enhancement Operational 
    opened by shamilovtim 20
  • [Proposal] Web Support for fl_chart

    [Proposal] Web Support for fl_chart

    The package is working perfectly for web, but on pub.dev web platform is not showing. I forked the repo and ran flutter create . but it's not creating web folder. So maybe, you can try out the same and enable flutter web support and then push and publish on pub.dev again thereby providing web support!

    opened by AbhishekDoshi26 18
  • How do I set default values for horizontal and vertical coordinates

    How do I set default values for horizontal and vertical coordinates

    which version of the Flutter are you using? Flutter (Channel beta, 3.3.0-0.5.pre which version of the FlChart are you using? fl_chart: ^0.55.1 ** Don't make a duplicate issue. You can search in issues to make sure there isn't any already opened issue with your concern.

    Is your feature request relasted to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

    Describe the solution you'd like A clear and concise description of what you want to happen. When the coordinate has only one value (' December 2012 ', 0), neither horizontal nor vertical coordinate has any value displayed. I want to set some default values at this time, such as (0, 1, 2, 3, 4, 5). How to set it? thank you Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

    Additional context Add any other context or screenshots about the feature request here. image

    opened by helloworkcupid 0
  • build error because kotlin version?

    build error because kotlin version?

    ** Don't make a duplicate issue. You can search in issues to make sure there isn't any already opened issue with your concern. Searched, not found anything helpful.

    Describe the bug FAILURE: Build failed with an exception.

    To Reproduce Build example in flutter 3.3.4 on win10

    Screenshots FAILURE: Build failed with an exception.

    • Where: Build file 'I:\lab\flutter\fl_chart\example\android\app\build.gradle' line: 25

    • What went wrong: A problem occurred evaluating project ':app'.

    Could not initialize class org.jetbrains.kotlin.gradle.plugin.sources.DefaultKotlinSourceSetKt

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 5s Running Gradle task 'assembleDebug'... 6.8s Gradle task assembleDebug failed with exit code 1

    Versions

    • which version of the Flutter are you using? 3.3.4
    • which version of the FlChart are you using? 0.55.2
    opened by zzzh 0
  • When there is a lot of data, the touch display data spills out of the screen

    When there is a lot of data, the touch display data spills out of the screen

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Provide us a completely reproducible code (contains the main function) in a main.dart file, it helps us to find the bug immediately.

      child: LineChart(
        LineChartData(
          lineBarsData: listLine,
          titlesData: titlesData1,
          minY: 0.0,
          baselineX: 0,
          baselineY: 0,
          clipData: FlClipData.none(),
        ),
      ),
    

    FlTitlesData get titlesData1 => FlTitlesData( bottomTitles: AxisTitles( sideTitles: bottomTitles, // rotateAngle:5, ), rightTitles: AxisTitles( sideTitles: SideTitles(showTitles: false), ), topTitles: AxisTitles( sideTitles: SideTitles(showTitles: false), ), leftTitles: AxisTitles( drawBehindEverything: true, sideTitles: leftTitles(), axisNameSize: 1,

        ),
      );
    

    SideTitles get bottomTitles => SideTitles( showTitles: true, reservedSize: 32, // rotateAngle: 90, interval: 1, getTitlesWidget: bottomTitleWidgets, );

    SideTitles leftTitles() => SideTitles( getTitlesWidget: leftTitleWidgets, showTitles: true, interval: 1, reservedSize: 40, );

    Screenshots If applicable, add screenshots, or videoshots to help explain your problem. When there is a lot of data, the touch display data spills out of the screen How to make touch display data in the middle of the screen Versions

    • which version of the Flutter are you using?
    • Flutter (Channel beta, 3.3.0-0.5.pre
    • which version of the FlChart are you using?
    • fl_chart: ^0.55.1

    image

    opened by helloworkcupid 2
  • Y axis clips chart size

    Y axis clips chart size

    Describe the bug I think the picture shows pretty good what the problem is. image

    To Reproduce I don't have a whole file ready to reproduce, but at least here is the widget containing the chart.

    SingleChildScrollView( scrollDirection: Axis.horizontal, child: SizedBox( height: MediaQuery.of(context).size.height * 0.2, width: bars.length * 40.0, child: BarChart( BarChartData( gridData: FlGridData( show: false, ), alignment: BarChartAlignment.spaceEvenly, barTouchData: BarTouchData( enabled: true, touchTooltipData: BarTouchTooltipData( tooltipBgColor: Colors.transparent, tooltipPadding: const EdgeInsets.all(0), tooltipMargin: 6, fitInsideVertically: true, getTooltipItem: ( BarChartGroupData group, int groupIndex, BarChartRodData rod, int rodIndex, ) { return BarTooltipItem( rod.toY.round().toString(), Theme.of(context).textTheme.subtitle2!); }, ), ), titlesData: FlTitlesData( show: true, topTitles: AxisTitles( sideTitles: SideTitles(showTitles: false), ), bottomTitles: AxisTitles( sideTitles: SideTitles( showTitles: true, reservedSize: 32, getTitlesWidget: (value, meta) => Text( DateFormat("MMM\n’yy") .format(DateTime.fromMillisecondsSinceEpoch(value.round())), style: Theme.of(context).textTheme.subtitle2!, ), ), ), rightTitles: AxisTitles( sideTitles: SideTitles( interval: 500, showTitles: true, reservedSize: 60, ), ), leftTitles: AxisTitles( sideTitles: SideTitles( interval: 500, showTitles: true, reservedSize: 60, ), ), ), borderData: FlBorderData( show: false, ), barGroups: bars, maxY: [...bars] .sorted((a, b) => a.barRods.first.toY.compareTo(b.barRods.first.toY)) .last .barRods .first .toY + 300, ), ),

    Versions

    • which version of the Flutter are you using? 3.3.9
    • which version of the FlChart are you using? 0.55.2

    If you need for more information please reach out.

    opened by vanth0me 0
Releases(0.55.2)
  • 0.55.2(Sep 23, 2022)

    0.55.2

    • BUGFIX (by @imaNNeoFighT): Fix inner border of pieChart with single section, #1089
    • IMPORTANT IRAN NEEDS HELP

    As you might know, Islamic Republic of Iran is murdering people in silence right now in Iran They shut the Internet down to do that. That’s why I cannot maintain this library for a while. Now we need your help, please be our voice by spreading news in your media to support us Search these hashtags:

    #MahsaAmini مهسا_امینی OpIran

    Also, this article might help.

    Source code(tar.gz)
    Source code(zip)
  • 0.55.1(Aug 3, 2022)

    0.55.1

    • BUGFIX (by @ateich): Fix infinite loop in RadarChart when all values in RadarDataSet are equal, #882.
    • BUGFIX (by @ateich): Fix uneven titles in RadarChart when using titlePositionPercentageOffset, #1074.
    • BUGFIX (by @imaNNeoFighT): Fix PieChart single section stroke issue, #1089
    Source code(tar.gz)
    Source code(zip)
  • 0.55.0(Jun 17, 2022)

    • FEATURE (by @emelinepal): Add tooltipBorder property in [LineTouchTooltipData], [BarTouchTooltipData], [ScatterTouchTooltipData], #692.
    • BUGFIX (by @imaNNeoFighT): Fix tooltip issue on negative bar charts, #978.
    • IMPROVEMENT (by @imaNNeoFighT): Use Container to draw axis-based charts border.
    • FEATURE (by @FlorianArnould) Add the ability to select the RadarChart shape (circle or polygon), #1047.
    • BUGFIX (by @imaNNeoFighT): Fix LineChart titles problem with single FlSpot, #1053.
    • FEATURE (by @FlorianArnould) Add the ability to rotate the RadarChar titles, #883.
    • BREAKING (by @FlorianArnould) RadarChartData.getTitle have a new parameter angle and now returns a RadarChartTitle instead of a simple string. (Read our Migration Guide to learn more about it)
    Source code(tar.gz)
    Source code(zip)
  • 0.51.0(May 30, 2022)

    • FEATURE (by @imaNNeoFighT): Add SideTitleWidget to help you use it in [SideTitles.getTitlesWidget]. It's a wrapper around your widget. It keeps your provided child widget close to the chart. It has angle and space properties to handle margin and rotation. There is a axisSide property that you should fill, it has provided to you in the MetaData object. Check the below sample:
    getTitlesWidget: (double value, TitleMeta meta) {
      return SideTitleWidget(
        axisSide: meta.axisSide,
        space: 8.0,
        angle: 0.0,
        child: const Text("This is your widget"),
      );
    },
    
    • IMPROVEMENT (by @imaNNeoFighT): Fix default LineChart interval issue on small view sizes, #909.
    Source code(tar.gz)
    Source code(zip)
  • 0.50.6(May 17, 2022)

  • 0.50.5(May 13, 2022)

  • 0.50.4(May 13, 2022)

  • 0.50.3(May 13, 2022)

    • IMPROVEMENT Fix order of drawing lineChart bar indicator problem, #198.
    • FEATURE Add isStrokeJoinRound property in LineChartBarData.
    • IMPROVEMENT Upgrade to Flutter 3, #997.
    • FEATURE Add chartRendererKey property to the LineChart, BarChart, and ScatterChart. We pass it directly to our chart renderers that are responsible to render the chart itself (without anything around it like titles), #987.
    Source code(tar.gz)
    Source code(zip)
  • 0.50.1(Apr 2, 2022)

  • 0.50.0(Mar 25, 2022)

    This release has some breaking changes. So please check out the migration guide here

    • IMPROVEMENT Allow to return a Widget in SideTitles.getTitlesWidget instead of a String. For example, you can pass an Icon widget as a title, #183. Check below samples:

    LineChartSample 8 (Source Code)

    BarChartSample 7 (Source Code)

    Source code(tar.gz)
    Source code(zip)
  • 0.46.0(Mar 11, 2022)

    • BUGFIX Fix drawing BetweenBarsArea problem when there are nullSpots in fromLine and toLine, #912.
    • FEATURE Allow to have vertically grouped BarChart using fromY and toY properties in BarChartRodData It means you can have a negative and a positive bar chart at the same X location. #334, #875. Check BarChartSample5 and [BarChartSample6](https://github.com/imaNNeoFighT/fl_chart/blob/master/repo_files/documentations/bar_chart.md#sample-6-source-code.
    • BREAKING Renamed y property to toY in BarChartRodData and BackgroundBarChartRodData due to the above feature.
    • BUGFIX Fix smaller radius bubble hiding behind bigger radius bubble in ScatterChart, #930.
    • BUGFIX Fix tooltip text alignment and direction in line chart, #927.
    Source code(tar.gz)
    Source code(zip)
  • 0.45.1(Mar 3, 2022)

  • 0.45.0(Feb 12, 2022)

    • BUGFIX Fix clipData implementation in ScatterChart and LineChart, #897.
    • BUGFIX Fix PieChart changing sections issue (we have disabled semantics for pieChart badgeWidgets), #861.
    • BUGFIX Fix LineChart width smaller width or height lower than 40, #869, #857.
    • BUGFIX Allow to show title when axis diff is zero, #842, #879.
    • IMPROVEMENT Improve iteration over axis values logic (it solves some minor problems on showing titles when min, max values are below than 1.0).
    • IMPROVEMENT Add baselineX and baselineY property in our axis-based charts, It fixes a problem about interval which mentioned in #893 (check this sample.
    • IMPROVEMENT Added distanceCalculator to LineTouchData which is used to calculate the distance between spots and touch events, #716, #261, #892
    • BREAKING LineTouchResponse response now contains a list of TouchLineBarSpot instead of LineBarSpot. They are ordered based on their distance to the touch event and also contain that distance.
    Source code(tar.gz)
    Source code(zip)
  • 0.41.0(Jan 9, 2022)

    • BUGFIX Fix getNearestTouchedSpot. Previously it returned the first occurrence of a spot within the threshold, and not the nearest, #641, #645.
    • FEATURE Add textAlign property in the SideTitles, #784.
    • IMPROVEMENT Write some unit-tests and enable code coverage reports in our CI
    Source code(tar.gz)
    Source code(zip)
  • 0.40.6(Dec 9, 2021)

    • IMPROVEMENT Fix showing zero value in side titles and grid lines when we add negative value. Now we always go through the zero value in each axis, #739.
    • BUGFIX Fix example app unsupported operation problem on web, #844.
    Source code(tar.gz)
    Source code(zip)
  • 0.40.5(Dec 3, 2021)

    • BUGFIX Fix BarChart empty groups state error, #797.
    • BUGFIX Fix drawTooltipOnTop direction minor bug, #815.
    • BUGFIX Fix section with zero value problem in PieChart (disabled animation on changing value to zero and from zero), #817
    • BUGFIX Fix pie chart stroke problem when adding space between sections (using new approach), #818.
    • IMPROVEMENT Fix interval below one, #811
    Source code(tar.gz)
    Source code(zip)
  • 0.40.2(Oct 14, 2021)

  • 0.40.1(Oct 14, 2021)

    • IMPROVEMENT Fix pub.dev determining web support, #780.
    • IMPROVEMENT Implement flutter_lints in the code.
    • BUGFIX Fix below/above area data transparency issue, #770.
    Source code(tar.gz)
    Source code(zip)
  • 0.40.0(Aug 26, 2021)

    • BUGFIX Fixed pieChart centerRadius = double.infinity problem, #747.c
    • BREAKING Charts touchCallback signature has changed to (FlTouchEvent event, BaseTouchResponse? response) which FlTouchEvent determines which touch/pointer event happened (such as FlTapUpEvent, FlPanUpdateEvent, ...), and BaseTouchResponse gives us the chart response.
    • BREAKING Chart touchResponse classes don't have touchInput and clickHappened properties anymore. Use FlTouchEvent provided in the callback instead of touchInput. Check event is FlTapUpEvent to detect touch events instead of checking clickHappened;
    • IMPROVEMENT Again we support longPress touch events. check FlTouchEvent to see all kind of supported touch/pointer events (which can be FlLongPressStart, FlLongPressMoveUpdate, FlLongPressEnd, ...). Also you can check out touch handling doc, #649.
    • IMPROVEMENT Added mouseCursorResolver callback in touchData classes such as LineTouchData and BarTouchData. You can change the MouseCursor based on the provided FlTouchEvent and touchResponse using this callback. (We have used this feature in PieChartSample2)
    • BUGFIX Fixed ScatterChart default touchHandling crash
    • BUGFIX Fix text styles when updating the theme. Check this theme-aware-sample.
    • IMPROVEMENT Show narrow horizontal and vertical grid lines by default.
    • IMPROVEMENT Show all left, top (except BarChart), right, bottom titles in Axis based charts by default.
    • IMPROVEMENT Set BarChartAlignment.spaceEvenly as alignment property of BarChartData by default
    • IMPROVEMENT Allow BarChart and LineChart have empty values instead of throwing exception (we don't show anything if there is nothing provided)
    • BREAKING textStyle of ScatterTooltipItem is now nullable and optional. bottomMargin is also optional (default is zero). So both are named parameters now.
    • IMPROVEMENT We improved touch precision of ScatterChart.
    • BUGFIX Fix overlapping last gridlines on border lines problem.
    • NEWS Your donation motivates me to work more on the fl_chart and resolve more issues. Now you can buy me a coffee!
    Source code(tar.gz)
    Source code(zip)
  • 0.36.4(Aug 19, 2021)

    • IMPROVEMENT Added borderSide property in BarChartRodData and BarChartRodStackItem to draw strokes around each bar and rod stack items, #714.
    • IMPROVEMENT Now all textStyles are nullable and theme-aware by default, #269.
    • BREAKING All getTextStyles callback now give you a context and value (previously it was only a value).
    • BUGFIX Fixed colorStops calculation which used in gradient colors, #732.
    Source code(tar.gz)
    Source code(zip)
  • 0.36.3(Jul 22, 2021)

  • 0.36.2(Jun 17, 2021)

  • 0.36.1(May 7, 2021)

    • IMPROVEMENT Allow to set zero value on PieChartSectionData (we remove zero sections instead of crashing), #640.
    • BUGFIX Fix NPE crash in our renderers touchCallback, #651.
    • BUGFIX Fix line index problem in LineChart, #665. (It has appeared in 0.36.0, we had to revert 2nd change of 0.36.0)
    • BREAKING Remove unused lineIndex property from ShowingTooltipIndicators.
    Source code(tar.gz)
    Source code(zip)
  • 0.36.0(Apr 30, 2021)

    • BUGFIX Fixed bug of lerping FlSpot.nullSpot, #487.
    • BUGFIX Fixed showing tooltip problem when animating chart, #647.
    • BUGFIX Fixed RadarChart drawing problem, #627.
    • IMPROVEMENT Now SideTitles.interval is working correctly in bottomTitles in the BarChart, #648.
    • BREAKING You should provide spotsIndices instead of showingSpots in ShowingTooltipIndicators.
    Source code(tar.gz)
    Source code(zip)
  • 0.35.0(Apr 1, 2021)

    • IMPROVEMENT Added children property in the LineTooltipItem, BarTooltipItem and ScatterTooltipItem which accepts a list of TextSpan. It allows you to have more customized texts inside the tooltip. See BarChartSample1 and ScatterSample2, #72, #294.
    • IMPROVEMENT Added getTouchLineStart and getTouchLineEnd in LineTouchData to give more customizability over showing the touch lines. see SampleLineChart9.
    • IMPROVEMENT Enabled sectionsSpace in PieChart for the web.
    • IMPROVEMENT Added Makefile commands which makes it comfortable for verifying your code before push (It is related to contributors, red more about it in CONTRIBUTING.md).
    • IMPROVEMENT Added FlDotCrossPainter which extends FlDotPainter to paint X marks on line chart spots.
    • IMPROVEMENT Added textDirection property in LineTooltipItem, BarTooltipItem and ScatterTooltipItem. It allows you to support rtl languages in tooltips.
    • IMPROVEMENT Added textDirection property in SideTitles class, #531. It allows you to support rtl languages in side titles.
    • IMPROVEMENT Added textDirection property in AxisTitles class. It allows you to support rtl languages in axis titles.
    • BUGFIX Fixed some bugs on drawing PieChart (for example when we have only one section), #582,
    • BREAKING Border of pieChart now is hide by default (you can show it using borderData: FlBorderData(show: true).
    • BREAKING You cannot set 0 value on PieChartSectionData.value anymore, instead remove it from list.
    • BREAKING Removed fullHeightTouchLine property from LineTouchData. Now you can have a full line with following snippet:
    LineTouchData(
      ...
      getTouchLineStart: (barData, index) => -double.infinity // default: from bottom,
      getTouchLineEnd: (barData, index) => double.infinity //to top,
      ...
    )
    
    Source code(tar.gz)
    Source code(zip)
  • 0.30.0(Mar 22, 2021)

    • [IMPROVEMENT] We now use RenderObject as our default drawing system. It brings a lot of stability. Such as size handling, hitTest handling (touches), and It makes us possible to paint Widgets inside our chart (It might fix #383, #556, #582, #584, #591).
    • [IMPROVEMENT] Added Radar Chart Documentations
    • [IMPROVEMENT] Added textAlign property in the BarTooltipItem, LineTooltipItem, and ScatterTooltipItem, default is TextAlign.center.
    • [IMPROVEMENT] Added direction property in the BarTouchTooltipData, and LineTouchTooltipData to specify the position of the tooltip (can be auto, top, bottom), default is auto.
    • [IMPROVEMENT] Updated touch flow, we now use hitTest for handling touch and interactions.
    • [IMPROVEMENT] Added 'clickHappened' property in all of our TouchResponses (such as LineTouchResponse, BarTouchResponse, ...), #210.
    • [IMPROVEMENT] Added swapAnimationCurve property to all chart widgets which handles the built-in animation Curve, #436.
    • [BREAKING] Some properties in ScatterTouchResponse, and PieTouchResponse moved to a wrapper class, you need to access them through that wrapper class.
    • [BREAKING] Renamed tooltipBottomMargin to tooltipMargin property in the BarTouchTooltipData, and LineTouchTooltipData
    • [Bugfix] Fixed double.infinity in PieChartData .centerSpaceRadius, #584.
    Source code(tar.gz)
    Source code(zip)
  • 0.20.1(Mar 3, 2021)

  • 0.20.0-nullsafety1(Feb 19, 2021)

    • [BREAKING] We have migrated our project to null-safety. You may need to change your source-code to compile. check migration guide.
    • [BREAKING] You cannot set null value on FlSpot anymore (use FlSpot.nullSpot instead).
    Source code(tar.gz)
    Source code(zip)
  • 0.12.3(Feb 17, 2021)

    • [Bugfix] Fixed PieChart exception bug on sections tap, #514.
    • [Bugfix] Fixed PieChart badges problem, #538.
    • [Bugfix] Fixed Bug of drawing lines with strokeWidth zero, #558.
    • [Improvement] Updated example app to support web.
    • [Improvement] Show tooltips on mouse hover on Web, and Desktop.
    Source code(tar.gz)
    Source code(zip)
  • 0.12.2(Dec 24, 2020)

    • [Bugfix] Fixed PieChart badges draw in first frame problem, #513.
    • [Improvement] Use CanvasWrapper to proxy draw functions (It does not have any effect on the result, it makes the code testable)
    Source code(tar.gz)
    Source code(zip)
Owner
Iman khoshabi
Flutter Developer
Iman khoshabi
Sliver bar chart - A package that supports Bar Chart in a Flutter Sliver

Sliver bar chart - A package that supports Bar Chart in a Flutter Sliver. This Package allows us to add Bar Chart in Sliver and sets a Bar Chart as a Header on Slivers Scroll.

MindInventory 19 Oct 11, 2022
Flutter Pie chart with animation

Pie Chart This Flutter package provides a Pie Chart Widget with cool animation. Live Demo: https://apgapg.github.io/pie_chart/ ?? Try LIVE Demo Live D

Ayush P Gupta 161 Dec 24, 2022
Basic radar chart for Flutter

flutter_radar_chart Animated radar chart for Flutter inspired by The Python Graph Gallery (https://python-graph-gallery.com/radar-chart/). Follow the

Dan Panaite 44 Dec 10, 2022
Flutter chart library contains depth charts supporting various indicators and zooming

flutter_k_chart 介绍 一个仿火币的flutter图表库包含深度图,支持各种指标及放大缩小、平移等操作 webdemo演示 Demo v0.1.0:下载 APK 演示 简单用例 1.在 pubspec.yaml 中添加依赖 本项目数据来自火币openApi,火币的接口可能需要翻墙,接口

gwh 259 Dec 30, 2022
kg_charts icon library. At present, there are only radar charts

kg_charts icon library. At present, there are only radar charts. Other types of charts may be added later

zhonghua 10 Oct 25, 2022
Animated radial and pie charts for Flutter

Flutter Circular Chart A library for creating animated circular chart widgets with Flutter, inspired by Zero to One with Flutter. Overview Create easi

Victor Choueiri 387 Dec 26, 2022
A beautiful bezier line chart widget for flutter that is highly interactive and configurable.

Bezier Chart A beautiful bezier line chart widget for flutter that is highly interactive and configurable. Features Multi bezier lines Allow numbers a

Aeyrium 428 Dec 21, 2022
Animated line chart for flutter

fl_animated_linechart An animated chart library for flutter. Support for datetime axis Multiple y axis, supporting different units Highlight selection

null 51 Sep 25, 2022
A library to draw fantastic bar charts race in Flutter

bar_chart_race The first library to draw fantastic bar charts race in Flutter Usage Let's get started add the dependencies to your app: dependencies:

Mimene Younes 6 Jun 24, 2022
This project is used to introduce the use of flutter canvas, include draw chart, clip image's path and draw progress indicator.

flutter_canvas This project is used to introduce the use of flutter canvas, include draw chart, clip image's path and draw progress indicator. draw ch

YouXianMing 9 Oct 27, 2022
Maybe this is the best k chart in Flutter.Support drag,scale,long press,fling.And easy to use.

k_chart Maybe this is the best k chart in Flutter.Support drag,scale,long press,fling.And easy to use. display image gif Getting Started Install depen

OpenFlutter 342 Jan 9, 2023
A simple candlestick chart for flutter. Supports smooth scroll and zoom

simple_candlestick_chart A simple candlestick chart for flutter. Supports smooth

7c00 14 Oct 17, 2022
Stores and manages the data of your week expenses with a chart

personal_expenses_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you st

null 1 Dec 26, 2021
A scrollable time chart in Flutter.

time_chart An amazing time chart in Flutter. Chart Types TimeChart AmountChart Getting Started 1 - Depend on it Add it to your package's pubspec.yaml

Minseong Kim 26 Oct 28, 2022
A simple radial chart for Flutter

A simple radial chart for Flutter

null 2 Jun 2, 2022
Flutter heatmap calendar inspired by github contribution chart. [traditional mode / calendar mode]

Flutter Heatmap Flutter heatmap calendar inspired by github contribution chart.

Kim Seung Hwan 1 Dec 26, 2021
📆 Flutter heatmap calendar inspired by github contribution chart.

Flutter Heatmap Calendar Flutter Heatmap Calendar inspired by github contribution chart. Flutter Heatmap Calendar provides traditional contribution ch

Kim Seung Hwan 22 Jan 1, 2023
Charts Library for Flutter, written in Dart with Flutter.

Table of Contents New in the current release Illustration of the new "iterative auto layout" feature Autolayout step 1 Autolayout step 2 Autolayout st

Milan Zimmermann 225 Dec 25, 2022
A Flutter data visualization library based on Grammar of Graphics.

Graphic is now under a total refactoring. The prior available version code is here: v0.3.0 . A Flutter data visualization library based on Grammar of

LIN Chen 906 Jan 3, 2023