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

chart_components のカバー
パッケージ詳細v1.0.1

chart_components

Flutter用の2つのチャートコンポーネント。GitHubのアニメーション棒グラフとアニメーションカレンダーグリッドチャートに基づく。カスタマイズ可能な多くのプロパティ。

30日間ダウンロード
79
いいね数
49
Pub ポイント
70

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

flutter pub add chart_components

パッケージ概要

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

chart_components は、2 種類のアニメーションチャートウィジェットを提供する Flutter パッケージです。アニメーション棒グラフと、GitHub のビジュアライゼーションスタイルからインスパイアされたアニメーションカレンダーグリッドチャートです。データ表示に最適化されており、多数の設定可能なプロパティを通じて幅広いカスタマイズが可能です。時系列データやパフォーマンスメトリクスをスムーズなアニメーションで表示するのに最適です。Flutter のレンダリングエンジンに基づいて構築されており、ダッシュボードや分析インターフェースに適した応答性があり、視覚的に魅力的なチャートを実現します。

用途

  • 時系列データの表示
  • パフォーマンスメトリクスの可視化
  • ダッシュボードウィジェットの作成
  • 分析インターフェースの構築
  • アクティビティの傾向を表示
  • アプリケーション内のデータ表示の向上

主な機能

  • アニメーション付き棒グラフ
  • アニメーション付きカレンダーグリッドチャート
  • 広範なカスタマイズオプション
  • スムーズなアニメーション
  • GitHub風デザイン
  • 応答性レイアウト

適している対象

  • データ可視化アプリ
  • ダッシュボード開発
  • 分析ツール
  • アクティビティ追跡機能
  • 再利用可能なチャートを探しているFlutter開発者

注意事項

  • 2つのチャートタイプに限定
  • 組み込みのデータ変換なし
  • 手動でのデータ処理が必要です
  • 大規模なデータセットに対して最適化されていない
  • サーバーサイドレンダリングはサポートされていません
  • 外部のソースコードに依存しています

元の README

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

Chart_Components

Animated bar chart for Flutter

Customizable bar chart for Flutter. The component calculates min and max of data and resizes bars as needed.

bar chart

  • Add a data collection with the values to generate the bars.
  • Add a string collection with the labels to display below the items (optional)
  • Change bar size, margins and top corners as needed.
  • Change bar's color based on value. Callback, optional.
  • Enable/disable value on top of bar
  • Add an icon to the top of the bar based on item's value. Callback, optiona.
  • Enable/disable animation.
  • Change animation duration and curve through the properties

Animated calendar grid for Flutter

calendar grid

  • Generates a grid for the selected month.
  • Changes day color through callback.
  • Animates changes. Animation curve and duration can be modified with the properties.

Demo

Demo:

Usage

To use plugin, just import package import 'package:chart_components/chart_components.dart';

Example

Check de example directory to access the project that implements the image shown above.

        ........
                    CalendarGrid(
                            year: 2020,
                            month: 1,
                            getColorOfDay: DataRepository.getDayColor,
                            animationDuration: Duration(milliseconds: 1500),
                    ),

        ...........
                    child: BarChart(
                    data: data,
                    labels: labels,
                    dislplayValue: true,
                    reverse: true,
                    getColor: DataRepository.getColor,
                    getIcon: DataRepository.getIcon,
                    barWidth: 42,
                    barSeparation: 12,
                    animationDuration: Duration(milliseconds: 1800),
                    animationCurve: Curves.easeInOutSine,
                    itemRadius: 30,
                    iconHeight: 24,
                    footerHeight: 24,
                    headerValueHeight: 16,
                    roundValuesOnText: false,
                    lineGridColor: Colors.lightBlue,
                    ),

カテゴリー

ソースリポジトリ

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