charter 0.0.1-alpha-3

Flutter Android iOS web

A collection of chart implementations for Flutter using CustomPaint

charter #

A collection of chart implementations for Flutter.

So far this supports the following:

  • PolarAreaChart

Screenshots #

polar-area-chart-example.png

QuickStart #

Add Dependency #

dependencies:
	charter: 0.0.1-alpha-2

Update Packages #

$ flutter pub get

Import Package #

import 'package:charter/charter.dart';

Add the following code snippet and tweak

PolarAreaChart.basic(
  grid: [5,10,15], // Scale for the whole chart
  features: [
    "broccoli",
    "cheese",
    "salmon",
    "potato",
    "carrot",
    "rice",
    "lentils",
    "covfefe",
    "pasta",
    "beef",
    "grains"
  ],
  // Features and data must be same length
  data: [3,1,5,14,6,2,9,13,5,6,10],
  featuresTextStyle: TextStyle (
    fontWeight: FontWeight.bold,
    fontSize: 12
  ),
  drawSegmentDividers: true,
  // Colours are repeated if less than data.length
  featureColors: [
    Colors.green,
    Colors.blue,
    Colors.red,
    Colors.orange,
    Colors.yellow,
    Colors.pink,
    Colors.brown
  ]
)
1
likes
80
pub points
42%
popularity

A collection of chart implementations for Flutter using CustomPaint

Homepage

Documentation

API reference

Uploader

londonappstudio@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on charter