Skip to content

Oliver-Zimmerman/spiderchart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spiderchart

An awesome radar charts to make your app just awesome

Radar chart flutter example

Getting Started

Creating a SpiderChart is that easy you can choose the color of the lines, radius of point. A SpiderChartValue is all the stats for the group you want to compare with your spider or radar graph.

SpiderChartWidget component = SpiderChartWidget(
  lineColor: Colors.blueGrey[500],
  activeLabelColor: Colors.blueGrey[50],
  nbSides: 7,
  labels: [
    SpiderChartStatModel(roundSize: 4, label: "test 1"),
    SpiderChartStatModel(roundSize: 4, label: "test 2"),
    SpiderChartStatModel(roundSize: 4, label: "test 3"),
    SpiderChartStatModel(roundSize: 4, label: "test 4"),
    SpiderChartStatModel(roundSize: 4, label: "test 5"),
    SpiderChartStatModel(roundSize: 4, label: "test 6"),
    SpiderChartStatModel(roundSize: 4, label: "test 7"),
  ],
  valuesList: new List()
    ..add(
      new SpiderChartValue(
        [ .5, .8, .9, .8, .9, .1, .2 ],
        gradient: gradient,
        strokeColor: Colors.lightGreenAccent[200]
      )
    ),
);

Enjoy

About

A flutter chart widget library for Flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 97.3%
  • Kotlin 1.3%
  • Swift 1.3%
  • Objective-C 0.1%