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

套件詳情v0.1.19

modern_charts

一個用於建立簡單但現代外觀圖表的套件。

近 30 天下載
53
喜歡數
45
Pub 分數
30

安裝套件

flutter pub add modern_charts

套件介紹

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

modern_charts 是一個 Flutter 套件,專為以最少設定建立乾淨、現代風格的圖表而設計。它提供簡單的 API 來呈現折線圖、長條圖和圓餅圖等視覺化效果,強調美學與整合的便利性。此套件著重於提供視覺上吸引人的圖表,無需繁瑣的設定,非常適合需要精緻資料呈現的應用程式。基於 Flutter 的渲染功能建構,確保在各種裝置上都能實現流暢的效能與響應式設計。

適用情境

  • 顯示應用分析
  • 可視化使用者隨時間的活動
  • 展示銷售或收入趨勢
  • 增強儀表板介面
  • 建立輕量級資料摘要

主要特色

  • 現代極簡設計
  • 用於快速實作的簡單 API
  • 對常見圖表類型的支援
  • 響應式版面適配
  • 可自訂的顏色和主題

適合對象

  • 尋求快速圖表整合的開發者
  • 具有資料視覺化需求的應用程式
  • 注重設計的應用程式
  • 原型設計互動式儀表板
  • 重視視覺吸引力的專案

使用建議

  • 有限的高級自訂選項
  • 無內建的互動功能,例如工具提示
  • 最適合基本的圖表需求
  • 不適合複雜或高度動態的資料
  • 依賴外部樣式以實現進階功能

原始 README

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

A package for creating simple yet modern looking charts.

Five chart types
  • Bar

  • Gauge

  • Line

  • Pie

  • Radar

Canvas + DOM

modern_charts combines Canvas and DOM to achieve the best performance and experience.

  • Canvas is used to render chart contents (axes, grids, and series)
  • DOM is used to create legends and tooltips
DataTable

Data are passed to a chart via a DataTable object. By using DataTable, you can flexibly modify the data even after the chart has been rendered.

Animations

Animations are supported for different types of data modifications:

  • New data table
  • Changes to data table values
  • Insertion and removal of rows (categories)
  • Insertion and removal of columns (series)
  • Series visibility toggle
Responsive

Charts automatically resize when the browser is resized.

Interactive
  • Shows tooltips on hover/tap
  • The visibility of a series is toggled when you click the corresponding legend item
Modular

Each chart type has its own class, so your final production code only contains the code of the chart types you use.

Usage

Please read the wiki for instructions on how to use these beautiful charts.

所屬分類

依賴

依賴清單 1 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。