Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1010 Bytes

README.md

File metadata and controls

38 lines (32 loc) · 1010 Bytes

Pub Gitlab pipeline status

spider_chart

A simple spider/radar chart library for Flutter.

screenshot

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,
      ],
    ),
  ),
)