flet-charts 0.2.0.dev506__py3-none-any.whl → 0.2.0.dev524__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of flet-charts might be problematic. Click here for more details.
- flet_charts/bar_chart.py +1 -3
- flet_charts/line_chart.py +1 -3
- flet_charts/pie_chart.py +1 -3
- flet_charts/plotly_chart.py +3 -2
- flet_charts/scatter_chart.py +1 -1
- {flet_charts-0.2.0.dev506.dist-info → flet_charts-0.2.0.dev524.dist-info}/METADATA +5 -15
- {flet_charts-0.2.0.dev506.dist-info → flet_charts-0.2.0.dev524.dist-info}/RECORD +11 -11
- flutter/flet_charts/pubspec.lock +2 -2
- {flet_charts-0.2.0.dev506.dist-info → flet_charts-0.2.0.dev524.dist-info}/WHEEL +0 -0
- {flet_charts-0.2.0.dev506.dist-info → flet_charts-0.2.0.dev524.dist-info}/licenses/LICENSE +0 -0
- {flet_charts-0.2.0.dev506.dist-info → flet_charts-0.2.0.dev524.dist-info}/top_level.txt +0 -0
flet_charts/bar_chart.py
CHANGED
|
@@ -164,11 +164,9 @@ class BarChartEvent(ft.Event["BarChart"]):
|
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
@ft.control("BarChart")
|
|
167
|
-
class BarChart(ft.
|
|
167
|
+
class BarChart(ft.LayoutControl):
|
|
168
168
|
"""
|
|
169
169
|
Draws a bar chart.
|
|
170
|
-
|
|
171
|
-

|
|
172
170
|
"""
|
|
173
171
|
|
|
174
172
|
groups: list[BarChartGroup] = field(default_factory=list)
|
flet_charts/line_chart.py
CHANGED
|
@@ -165,11 +165,9 @@ class LineChartTooltip:
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
@ft.control("LineChart")
|
|
168
|
-
class LineChart(ft.
|
|
168
|
+
class LineChart(ft.LayoutControl):
|
|
169
169
|
"""
|
|
170
170
|
Draws a line chart.
|
|
171
|
-
|
|
172
|
-

|
|
173
171
|
"""
|
|
174
172
|
|
|
175
173
|
data_series: list[LineChartData] = field(default_factory=list)
|
flet_charts/pie_chart.py
CHANGED
|
@@ -33,11 +33,9 @@ class PieChartEvent(ft.Event["PieChart"]):
|
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
@ft.control("PieChart")
|
|
36
|
-
class PieChart(ft.
|
|
36
|
+
class PieChart(ft.LayoutControl):
|
|
37
37
|
"""
|
|
38
38
|
A pie chart control displaying multiple sections as slices of a circle.
|
|
39
|
-
|
|
40
|
-

|
|
41
39
|
"""
|
|
42
40
|
|
|
43
41
|
sections: list[PieChartSection] = field(default_factory=list)
|
flet_charts/plotly_chart.py
CHANGED
|
@@ -28,8 +28,9 @@ class PlotlyChart(ft.Container):
|
|
|
28
28
|
|
|
29
29
|
figure: Figure = field(metadata={"skip": True})
|
|
30
30
|
"""
|
|
31
|
-
Plotly figure to draw
|
|
32
|
-
|
|
31
|
+
Plotly figure to draw.
|
|
32
|
+
|
|
33
|
+
The value is an instance of [`plotly.graph_objects.Figure`](https://plotly.com/python-api-reference/generated/plotly.graph_objects.Figure.html).
|
|
33
34
|
"""
|
|
34
35
|
|
|
35
36
|
original_size: bool = False
|
flet_charts/scatter_chart.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-charts
|
|
3
|
-
Version: 0.2.0.
|
|
3
|
+
Version: 0.2.0.dev524
|
|
4
4
|
Summary: A Flet extension for creating interactive charts and graphs.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -26,20 +26,15 @@ It is based on the [fl_chart](https://pub.dev/packages/fl_chart) Flutter package
|
|
|
26
26
|
|
|
27
27
|
## Documentation
|
|
28
28
|
|
|
29
|
-
Detailed documentation to this package can be found [here](https://flet-
|
|
29
|
+
Detailed documentation to this package can be found [here](https://flet-charts.docs.flet.dev/).
|
|
30
30
|
|
|
31
31
|
## Platform Support
|
|
32
32
|
|
|
33
33
|
This package supports the following platforms:
|
|
34
34
|
|
|
35
|
-
| Platform |
|
|
36
|
-
|
|
37
|
-
|
|
|
38
|
-
| macOS | ✅ |
|
|
39
|
-
| Linux | ✅ |
|
|
40
|
-
| iOS | ✅ |
|
|
41
|
-
| Android | ✅ |
|
|
42
|
-
| Web | ✅ |
|
|
35
|
+
| Platform | Windows | macOS | Linux | iOS | Android | Web |
|
|
36
|
+
|----------|---------|-------|-------|-----|---------|-----|
|
|
37
|
+
| Supported| ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
43
38
|
|
|
44
39
|
## Usage
|
|
45
40
|
|
|
@@ -58,11 +53,6 @@ To install the `flet-charts` package and add it to your project dependencies:
|
|
|
58
53
|
```
|
|
59
54
|
After this, you will have to manually add this package to your `requirements.txt` or `pyproject.toml`.
|
|
60
55
|
|
|
61
|
-
- Using `poetry`:
|
|
62
|
-
```bash
|
|
63
|
-
poetry add flet-charts
|
|
64
|
-
```
|
|
65
|
-
|
|
66
56
|
### Examples
|
|
67
57
|
|
|
68
58
|
For examples, see [these](./examples).
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
flet_charts/__init__.py,sha256=nDRlnDCu1302gO75mgX2dEiKXMeL_okH8GShCFfZYkg,2157
|
|
2
|
-
flet_charts/bar_chart.py,sha256=
|
|
2
|
+
flet_charts/bar_chart.py,sha256=YSgwdmSoHqJOusC6fR27p-v8OBj7HqBBvxvjEn96B7U,7806
|
|
3
3
|
flet_charts/bar_chart_group.py,sha256=O9-jSiCgO28mq0-DDUJznfcGLJbWvLmnGrzf9BLjH1I,702
|
|
4
4
|
flet_charts/bar_chart_rod.py,sha256=66BdckFGr-YUNXNIQb4NzvGGy8HIXGCzTOfHFOZhRi8,3575
|
|
5
5
|
flet_charts/bar_chart_rod_stack_item.py,sha256=XPLRpHdScmdde2UAau47OLSSL-AuQUbLpT1g7pNS9kI,623
|
|
6
6
|
flet_charts/chart_axis.py,sha256=jKX1bxQqxW3piNmyJUQShGATwnI1sKjXtKP425iDRhg,1869
|
|
7
|
-
flet_charts/line_chart.py,sha256=
|
|
7
|
+
flet_charts/line_chart.py,sha256=bgKrqyzXDj_49UDB8edy8-rArhuEKDuzy8qFBb_CEYw,8144
|
|
8
8
|
flet_charts/line_chart_data.py,sha256=Q9A3UlZ8zp8wpcTdqjgh0mAfO9GhlUpeWXljGY3bFrk,4162
|
|
9
9
|
flet_charts/line_chart_data_point.py,sha256=3OrM19H3hDJppiGmE2CTm_K3dWf83Rr-wELPC3Ak_OA,3253
|
|
10
10
|
flet_charts/matplotlib_chart.py,sha256=cWDqMSuUxfXYb-DjU6sp7fcHWh1DV2Ig7w62aYS6Fag,1878
|
|
11
|
-
flet_charts/pie_chart.py,sha256=
|
|
11
|
+
flet_charts/pie_chart.py,sha256=YOFJXKfgc192iu9Icp8VsTsTmbepp-hvQpM6_tPyTIE,1964
|
|
12
12
|
flet_charts/pie_chart_section.py,sha256=KdUF91BYAhY63U3NxMuY9Go56Ss0w-dmT8hLdxgP-tQ,2482
|
|
13
|
-
flet_charts/plotly_chart.py,sha256=
|
|
14
|
-
flet_charts/scatter_chart.py,sha256=
|
|
13
|
+
flet_charts/plotly_chart.py,sha256=ZpmO4TXVHDmeLoAXySx3iieBNPTRy36xptmGzvDP71s,1679
|
|
14
|
+
flet_charts/scatter_chart.py,sha256=7NFlZNKk4FPRozMwyVKQSsgxLV9s5EyCJsomC4S9VIE,7153
|
|
15
15
|
flet_charts/scatter_chart_spot.py,sha256=VcEta4HYkU_EmwbRNifQXao4o6wNNNZ81YdKRcrxN28,3663
|
|
16
16
|
flet_charts/types.py,sha256=0VNeobnKFjM5F164yqH81qGJVbtewhJEGAygMWy7SCs,11121
|
|
17
|
-
flet_charts-0.2.0.
|
|
17
|
+
flet_charts-0.2.0.dev524.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
18
18
|
flutter/flet_charts/CHANGELOG.md,sha256=JbP72D9_B4ipiQh7Ezg1O6gSCUi9GA8CseA31Wg2oWw,40
|
|
19
19
|
flutter/flet_charts/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
20
20
|
flutter/flet_charts/README.md,sha256=rIiq6cSepxf6Rhq2bZGK0PcMAlkz8iTfruGf2hbKFHQ,75
|
|
21
21
|
flutter/flet_charts/analysis_options.yaml,sha256=tNXU6s4EJ4KmXROObwPetH5vkzRTVG4AH4gpMw85_EY,154
|
|
22
|
-
flutter/flet_charts/pubspec.lock,sha256=
|
|
22
|
+
flutter/flet_charts/pubspec.lock,sha256=yoNzzi7MSl0GcdKO9fzOJyy7xq1_TXPZPosmpmDADlI,23516
|
|
23
23
|
flutter/flet_charts/pubspec.yaml,sha256=RB9sfjlNztvDASX0kAJGmXIaV_NamD7U_dVEhS5FMJ8,570
|
|
24
24
|
flutter/flet_charts/lib/flet_charts.dart,sha256=66hr4Shizat1MIyu957NiJI_xXYOSeOJbFI489qw7ok,70
|
|
25
25
|
flutter/flet_charts/lib/src/bar_chart.dart,sha256=6K_WPR4NzI_C9dor0eblESZi5hdf6PpKGD6xTml9KDI,3683
|
|
@@ -32,7 +32,7 @@ flutter/flet_charts/lib/src/utils/charts.dart,sha256=5Umt7NIzHp9UBDdIQ_8YQCxn8vQ
|
|
|
32
32
|
flutter/flet_charts/lib/src/utils/line_chart.dart,sha256=s_9iokaUFHNipu_YVw6OSJcmD8JctWCoImrIyuxB688,8633
|
|
33
33
|
flutter/flet_charts/lib/src/utils/pie_chart.dart,sha256=GbxCrhx_SXtJFH_94raOd_m_u7r37NRc6IExi-Qcumw,1850
|
|
34
34
|
flutter/flet_charts/lib/src/utils/scatter_chart.dart,sha256=KqJxvpl8jIZkQw132Ab4x4nhHTyiUw8M2NExgRCXf1k,3323
|
|
35
|
-
flet_charts-0.2.0.
|
|
36
|
-
flet_charts-0.2.0.
|
|
37
|
-
flet_charts-0.2.0.
|
|
38
|
-
flet_charts-0.2.0.
|
|
35
|
+
flet_charts-0.2.0.dev524.dist-info/METADATA,sha256=95i62GDOLre3OgoiQ9Oga48-Yjyinz8Tat9aMGOeOs8,1883
|
|
36
|
+
flet_charts-0.2.0.dev524.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
flet_charts-0.2.0.dev524.dist-info/top_level.txt,sha256=CVHmtljbPFTyfCiru5bxX1vvWL8L6rtUbV9bqqkSxFE,20
|
|
38
|
+
flet_charts-0.2.0.dev524.dist-info/RECORD,,
|
flutter/flet_charts/pubspec.lock
CHANGED
|
@@ -506,10 +506,10 @@ packages:
|
|
|
506
506
|
dependency: transitive
|
|
507
507
|
description:
|
|
508
508
|
name: shared_preferences_android
|
|
509
|
-
sha256:
|
|
509
|
+
sha256: bd14436108211b0d4ee5038689a56d4ae3620fd72fd6036e113bf1345bc74d9e
|
|
510
510
|
url: "https://pub.dev"
|
|
511
511
|
source: hosted
|
|
512
|
-
version: "2.4.
|
|
512
|
+
version: "2.4.13"
|
|
513
513
|
shared_preferences_foundation:
|
|
514
514
|
dependency: transitive
|
|
515
515
|
description:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|