搜尋套件、儲存庫與 APP 分類

graphic 封面
套件詳情v2.7.0

graphic

資料視覺化語法與Flutter圖表庫。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
4.2萬
喜歡數
904
Pub 分數
160

安裝套件

flutter pub add graphic

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Graphic 是一個 Flutter 圖表庫,提供資料視覺化的語法,讓開發者能以宣告式方式建立表達力強且可自訂的圖表。此庫設計具彈性且效能優異,支援多個平台,包括 Android、iOS、Web、macOS、Windows 與 Linux。該庫強調組合性與直覺的語法,讓開發者能輕鬆從簡單的構建模塊建立複雜的視覺化效果。它可無縫整合至 Flutter 應用中,並提供廣泛的樣式與互動設定選項。

適用情境

  • 建立互動式儀表板
  • 可視化時間序列資料
  • 建構自訂的資料驅動 UI
  • 使用圖表產生報告
  • 即時資料視覺化

主要特色

  • 宣告式圖表語法
  • 跨平台支援
  • 高度可自訂的元件
  • 內建動畫支援
  • 可擴充的設計系統

適合對象

  • 資料視覺化開發者
  • Flutter 應用開發者
  • 分析儀表板建構器
  • 教育類應用開發者
  • 與資料一起工作的UI設計師

使用建議

  • 需要了解資料視覺化原理
  • 初學者的學習曲線更陡峭
  • 與成熟庫相比,文件較少
  • 使用大量資料集時,效能可能會有所差異
  • 自定樣式需要熟悉 Flutter 的 widget 系統

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Graphic

Graphic is a grammar of data visualization and Flutter charting library.
  • Flexible declarative grammar: This visualization grammar derives from Leland Wilkinson's The Grammar of Graphics, and tries to balance between theoretical beauty and practicability. Data processing steps and mark shapes can be composed freely in a declarative specification, not limited to certain chart types. And shape draw methods are customizable.
  • Interaction: With the event and selection definition, the chart is highly interactive, such as highlighting selected items, popping a tooltip, or scaling the coordinate.
  • Animation: Mark transition animation can be set when a chart is built or changed. The entrance animation has various forms.

Skill for AI coding

Add the following skill, and your coding agent will be an expert of charting with this library:

npx skills add https://github.com/entronad/graphic --skill flutter-chart

Or you can find the skill in /skills/flutter-chart of this repository.

Documentation

See in the documentation.

(But in fact, I would prefer you to use the skill above for your coding agent.)

Examples

Example of charts can be seen in the Example App. Please clone this repository and run the example project in example directory.

examples

Tutorials

The Versatility of the Grammar of Graphics

How to Build Interactive Charts in Flutter

Share this Lib

Twitter HackerNews Reddit

License

Graphic is MIT License.

Keep Informed

Twitter

Medium

Zhihu

Thanks for reading.

所屬分類

依賴

依賴清單 3 項

原始碼儲存庫

使用此套件的專案