A simple spider/radar chart library for Flutter.
Quick Start #
More examples will be added, but this will get you going in the meantime. The chart can be sized with a container or by passing in a
Size object to the
size named parameter.
Center( child: Container( width: 300, height: 300, child: SpiderChart( data: [ 7, 5, 10, 7, 4, ], maxValue: 10, // the maximum value that you want to represent (essentially sets the data scale of the chart) colors: <Color>[ Colors.red, Colors.green, Colors.blue, Colors.yellow, Colors.indigo, ], ), ), )
[0.1.4] - 2019-10-09
- Add support for chart perimeter labels.
[0.1.0] - 2019-02-28
- Initial release. The basics are working.
Example project for Spider Chart
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: spider_chart: ^0.1.4
2. Install it
You can install packages from the command line:
$ flutter pub get
Alternatively, your editor might support
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Oct 18, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.5.1
- pana: 0.12.21
- Flutter: 1.9.1+hotfix.4
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.