Back to Flet

Overview

website/docs/controls/charts/index.md

0.85.0.dev21.3 KB
Original Source

import TabItem from '@theme/TabItem'; import Tabs from '@theme/Tabs';

Charts

Interactive chart controls powered by flet-charts let you display data as bar, line, pie, scatter and plotly visualisations directly in your Flet apps.

It is built on top of the fl_chart Flutter package and ships with helper classes for axis labels, tooltips and more.

Platform Support

PlatformWindowsmacOSLinuxiOSAndroidWeb
Supported

Usage

Add flet-charts to your project dependencies:

<Tabs groupId="uv--pip"> <TabItem value="uv" label="uv"> ```bash uv add flet-charts ``` </TabItem> <TabItem value="pip" label="pip"> ```bash pip install flet-charts # (1)! ```
  1. After this, you will have to manually add this package to your requirements.txt or pyproject.toml. </TabItem>
</Tabs> ## Available Charts