{"repo":"infinum/flutter-charts","free":true,"listed":false,"github":"https://github.com/infinum/flutter-charts","clone":"git clone https://github.com/infinum/flutter-charts.git","description":"Customizable charts library for flutter.","language":"Dart","stars":150,"topics":["charts","custom","painter","linechart","barchart","rainbow","pretty","art","sparkline","open-source"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Charts painter Idea behind this lib is to allow highly customizable charts. By having items and decorations as Widgets or predefined renderers where you can achieve the look of desired chart. 3.0 Migration guide Read the migration guide if you are interested in migrating from 2.0 to 3.0. Web demo Check out web demo to see what’s possible to do with the charts painter Usage Add it to your package’s pubspec.yaml file Start with the Chart The Widget you can use is Chart or AnimatedChart if you want to show animations when changing chart state. It has parameters of height , width and ChartState . Chart State ChartState describes how the chart should look. The chart drawing is divided into sections, so the ChartState has these parameters: - Data : What is the data that needs to be shown - Item options : How to draw that data points into items on chart - Decorations : Various additional objects that enhance and completes look of the chart. They are divided into backgroundDecorations (behind items) or in foregroundDecorations (in front of items). - Chart behaviour : Not used for drawing, but contain scrollable and item click logic Now we will explain each of these: Data The ChartData only required parameter is List . So, most basic data would look like: The reason for double list ( List If you want to listen to item taps you can do it by setting ChartBehaviour(onItemClicked) - you can read more about ChartBehaviour below. In case of a WidgetItemOptions, you could also provide Gestur","default_branch":null,"files":null,"tree":[],"storefront":"/r/infinum","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/infinum/flutter-charts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}