パッケージ、リポジトリ、アプリカテゴリを検索

flutter_radar_chart のカバー
パッケージ詳細v0.2.1

flutter_radar_chart

Flutter用の基本レーダーチャート。このチャートは、与えられたデータに応じて自動的に調整され、すぐに使用できるように設計されています。チャートのデザインは、Python Graph Galleryからインスパイアされています。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1730
いいね数
101
Pub ポイント
140

パッケージをインストール

flutter pub add flutter_radar_chart

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutter向けのシンプルで自己調整型のレーダーチャートで、提供されたデータとスムーズに連携するように設計されています。Python Graph Galleryからインスピレーションを得ており、多次元データのクリーンで直感的な可視化を提供します。チャートは入力値に自動的にスケーリングおよび適応するため、複雑な設定なしに迅速に実装できるのが特徴です。ダッシュボードやパフォーマンス比較、複数プラットフォームでのデータ分析インターフェースに最適です。

用途

  • パフォーマンスメトリクスの可視化
  • 多次元データの比較
  • ダッシュボードウィジェット
  • アプリにおけるデータ分析
  • 教育ツール

主な機能

  • データに基づく自動スケーリング
  • 最小限のセットアップが必要
  • クロスプラットフォーム対応
  • 洗練されたモダンなデザイン
  • 応答性レイアウト

適している対象

  • 迅速なレーダーチャートを求める開発者
  • ダッシュボードにおけるデータ可視化
  • 教育的または分析的なアプリケーション
  • マルチ軸データを備えたアプリ
  • 軽量なチャートを必要とするプロジェクト

注意事項

  • 制限されたカスタマイズオプション
  • 小規模から中規模のデータセットに最適
  • 高度にインタラクティブなチャートには向かない
  • 組み込みのツールチップやアニメーションなし
  • 高度な機能のための外部ライブラリに依存しています

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

flutter_radar_chart

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.

Example

screenshot

Usage

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

Customizability

Most of the customizability of the graph is a work in progress, but here's some of the features of the chart:

  • Animations! Trying to add some life to the chart. Animation is currently triggered whenever the widget is updated (didUpdateWidget). Animations are currently enabled by default.
  • Number of features: As shown in the example, the radar chart will adjust to the number of given variables. More work is needed to ensure the chart doesn't explode when given invalid data.
  • Reverse axis: Reverses the axis range so that the min value starts at the graph outline.
  • Dark mode: Simple factory that showcases the color customizability of the chart.
  • Polygon sides: Ability to use flat polygon borders instead of a circular border.

screenshot

Future Work Ideas

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.

  • [ ] Option for round corners
  • [x] Animations on render
  • [ ] Integration testing
  • [ ] Responsive design
  • [ ] Legends

Acknowledgements

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト