v0.2.0spider_chart
Spider Chart 是一個用於 Flutter 的簡單蜘蛛圖/雷達圖庫
33喜歡 103近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
cnsumner/flutter-spider-chart open-source repository details.
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
A simple spider/radar chart library for Flutter.
screenshot
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,
],
),
),
)