v0.2.1flutter_radar_chart
适用于 Flutter 的基本雷达图。此图表旨在开箱即用,能够根据给定数据自动调整。图表的设计灵感来自 Python Graph Gallery。
Flutter 的基本雷达图
以下为英文项目原文快照,最新内容请访问 GitHub。
Animated radar chart for Flutter inspired by The Python Graph Gallery (https://python-graph-gallery.com/radar-chart/).
Follow the instructions on pub to install this package.
Basic usage of radar chart requires three pieces of data:
ticks - Defines the numerical axis for the chart. Each tick generates an outline. Currently, each feature is plotted using the numerical range define by the ticks.features - Defines the numerical variables for each individual in the chart. There is no limit to the number of features.data - List of data points used to construct each individual in the chart. The number of data points must match the number of features. There is no limit to the number of individuals in the chart; however, multiple entities might cause the graph to become unreadable.RadarChart.light(
ticks: ticks,
features: features,
data: data,
),
A full example (as seen in the screenshots) can be found in example/lib/main.dart
Most of the customizability of the graph is a work in progress, but here's some of the features of the chart:
didUpdateWidget). Animations are currently enabled by default.There's a few more areas of work that I'd love to get around to building. I will eventually move these items over to issues for better tracking.
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗