flet-charts 0.70.0.dev6365__tar.gz → 0.70.0.dev6370__tar.gz
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-0.70.0.dev6365/src/flet_charts.egg-info → flet_charts-0.70.0.dev6370}/PKG-INFO +2 -2
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/pyproject.toml +2 -2
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/bar_chart.py +3 -3
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/chart_axis.py +3 -3
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/line_chart_data.py +2 -2
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/line_chart_data_point.py +1 -1
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/pie_chart_section.py +20 -18
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370/src/flet_charts.egg-info}/PKG-INFO +2 -2
- flet_charts-0.70.0.dev6370/src/flet_charts.egg-info/requires.txt +1 -0
- flet_charts-0.70.0.dev6365/src/flet_charts.egg-info/requires.txt +0 -1
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/LICENSE +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/README.md +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/setup.cfg +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/__init__.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/bar_chart_group.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/bar_chart_rod.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/bar_chart_rod_stack_item.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/candlestick_chart.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/candlestick_chart_spot.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/line_chart.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/matplotlib_backends/backend_flet_agg.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/matplotlib_chart.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/matplotlib_chart_with_toolbar.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/pie_chart.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/plotly_chart.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/radar_chart.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/radar_data_set.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/scatter_chart.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/scatter_chart_spot.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/types.py +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts.egg-info/SOURCES.txt +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts.egg-info/dependency_links.txt +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts.egg-info/top_level.txt +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/CHANGELOG.md +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/LICENSE +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/analysis_options.yaml +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/flet_charts.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/bar_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/candlestick_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/extension.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/line_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/pie_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/radar_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/scatter_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/utils/bar_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/utils/candlestick_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/utils/charts.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/utils/line_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/utils/pie_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/utils/radar_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/lib/src/utils/scatter_chart.dart +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/pubspec.lock +0 -0
- {flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/pubspec.yaml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-charts
|
|
3
|
-
Version: 0.70.0.
|
|
3
|
+
Version: 0.70.0.dev6370
|
|
4
4
|
Summary: Interactive chart controls for Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -11,7 +11,7 @@ Project-URL: Issues, https://github.com/flet-dev/flet/issues
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: flet==0.70.0.
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6370
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-charts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-charts"
|
|
3
|
-
version = "0.70.0.
|
|
3
|
+
version = "0.70.0.dev6370"
|
|
4
4
|
description = "Interactive chart controls for Flet apps."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [{ name = "Flet contributors", email = "hello@flet.dev" }]
|
|
7
7
|
license = "Apache-2.0"
|
|
8
8
|
requires-python = ">=3.10"
|
|
9
9
|
dependencies = [
|
|
10
|
-
"flet==0.70.0.
|
|
10
|
+
"flet==0.70.0.dev6370",
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[project.urls]
|
|
@@ -175,15 +175,15 @@ class BarChart(ft.LayoutControl):
|
|
|
175
175
|
|
|
176
176
|
group_spacing: ft.Number = 16.0
|
|
177
177
|
"""
|
|
178
|
-
|
|
178
|
+
An amount of space between bar [`groups`][(c).].
|
|
179
179
|
"""
|
|
180
180
|
|
|
181
181
|
group_alignment: ft.MainAxisAlignment = ft.MainAxisAlignment.SPACE_EVENLY
|
|
182
182
|
"""
|
|
183
|
-
The alignment of the bar [`groups`][
|
|
183
|
+
The alignment of the bar [`groups`][(c).] within this chart.
|
|
184
184
|
|
|
185
185
|
If set to [`MainAxisAlignment.CENTER`][flet.MainAxisAlignment.CENTER],
|
|
186
|
-
the space between the `groups` can be specified using [`group_spacing`][
|
|
186
|
+
the space between the `groups` can be specified using [`group_spacing`][(c).].
|
|
187
187
|
"""
|
|
188
188
|
|
|
189
189
|
animation: ft.AnimationValue = field(
|
|
@@ -19,7 +19,7 @@ class ChartAxisLabel(ft.BaseControl):
|
|
|
19
19
|
|
|
20
20
|
label: Optional[ft.StrOrControl] = None
|
|
21
21
|
"""
|
|
22
|
-
The label to display for the specified [`value`][
|
|
22
|
+
The label to display for the specified [`value`][(c).].
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
25
|
|
|
@@ -41,7 +41,7 @@ class ChartAxis(ft.BaseControl):
|
|
|
41
41
|
|
|
42
42
|
show_labels: bool = True
|
|
43
43
|
"""
|
|
44
|
-
Whether to display the [`labels`][
|
|
44
|
+
Whether to display the [`labels`][(c).] along the axis.
|
|
45
45
|
If `labels` is empty then automatic labels are displayed.
|
|
46
46
|
"""
|
|
47
47
|
|
|
@@ -61,7 +61,7 @@ class ChartAxis(ft.BaseControl):
|
|
|
61
61
|
|
|
62
62
|
label_size: ft.Number = 22
|
|
63
63
|
"""
|
|
64
|
-
The maximum space for each label in [`labels`][
|
|
64
|
+
The maximum space for each label in [`labels`][(c).].
|
|
65
65
|
|
|
66
66
|
Each label will stretch to fit this space.
|
|
67
67
|
"""
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/line_chart_data.py
RENAMED
|
@@ -48,7 +48,7 @@ class LineChartData(ft.BaseControl):
|
|
|
48
48
|
|
|
49
49
|
prevent_curve_over_shooting_threshold: ft.Number = 10.0
|
|
50
50
|
"""
|
|
51
|
-
Threshold for [`prevent_curve_over_shooting`][
|
|
51
|
+
Threshold for [`prevent_curve_over_shooting`][(c).] algorithm.
|
|
52
52
|
"""
|
|
53
53
|
|
|
54
54
|
dash_pattern: Optional[list[int]] = None
|
|
@@ -131,7 +131,7 @@ class LineChartData(ft.BaseControl):
|
|
|
131
131
|
curve_smoothness: ft.Number = 0.35
|
|
132
132
|
"""
|
|
133
133
|
Defines the smoothness of a curve line,
|
|
134
|
-
when [`curved`][
|
|
134
|
+
when [`curved`][(c).] is set to `True`.
|
|
135
135
|
"""
|
|
136
136
|
|
|
137
137
|
rounded_stroke_join: bool = False
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/line_chart_data_point.py
RENAMED
|
@@ -99,7 +99,7 @@ class LineChartDataPoint(ft.BaseControl):
|
|
|
99
99
|
|
|
100
100
|
show_tooltip: bool = True
|
|
101
101
|
"""
|
|
102
|
-
Whether the [`tooltip`][
|
|
102
|
+
Whether the [`tooltip`][(c).] should be shown when this data point is hovered over.
|
|
103
103
|
"""
|
|
104
104
|
|
|
105
105
|
def before_update(self):
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/pie_chart_section.py
RENAMED
|
@@ -10,10 +10,6 @@ __all__ = ["PieChartSection"]
|
|
|
10
10
|
class PieChartSection(ft.BaseControl):
|
|
11
11
|
"""
|
|
12
12
|
Configures a [PieChart][(p).] section.
|
|
13
|
-
|
|
14
|
-
Raises:
|
|
15
|
-
AssertionError: If [`title_position`][(c).] or
|
|
16
|
-
[`badge_position`][(c).] is not between `0.0` and `1.0` inclusive.
|
|
17
13
|
"""
|
|
18
14
|
|
|
19
15
|
value: ft.Number
|
|
@@ -51,11 +47,13 @@ class PieChartSection(ft.BaseControl):
|
|
|
51
47
|
"""
|
|
52
48
|
The position/offset of the title relative to the section's center.
|
|
53
49
|
|
|
50
|
+
- `0.0`: near the center
|
|
51
|
+
- `1.0`: near the outside of the chart
|
|
52
|
+
|
|
54
53
|
By default the title is drawn in the middle of the section.
|
|
55
54
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
and `1.0`(near the outside of the chart) inclusive.
|
|
55
|
+
Raises:
|
|
56
|
+
ValueError: If it is not between `0.0` and `1.0` inclusive.
|
|
59
57
|
"""
|
|
60
58
|
|
|
61
59
|
badge: Optional[ft.Control] = None
|
|
@@ -67,11 +65,13 @@ class PieChartSection(ft.BaseControl):
|
|
|
67
65
|
"""
|
|
68
66
|
The position/offset of the badge relative to the section's center.
|
|
69
67
|
|
|
68
|
+
- `0.0`: near the center
|
|
69
|
+
- `1.0`: near the outside of the chart
|
|
70
|
+
|
|
70
71
|
By default the badge is drawn in the middle of the section.
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
and `1.0`(near the outside of the chart) inclusive.
|
|
73
|
+
Raises:
|
|
74
|
+
ValueError: If it is not between `0.0` and `1.0` inclusive.
|
|
75
75
|
"""
|
|
76
76
|
|
|
77
77
|
gradient: Optional[ft.Gradient] = None
|
|
@@ -81,11 +81,13 @@ class PieChartSection(ft.BaseControl):
|
|
|
81
81
|
|
|
82
82
|
def before_update(self):
|
|
83
83
|
super().before_update()
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
84
|
+
if self.title_position is not None and not (0.0 <= self.title_position <= 1.0):
|
|
85
|
+
raise ValueError(
|
|
86
|
+
"title_position must be between 0.0 and 1.0 inclusive, "
|
|
87
|
+
f"got {self.title_position}"
|
|
88
|
+
)
|
|
89
|
+
if self.badge_position is not None and not (0.0 <= self.badge_position <= 1.0):
|
|
90
|
+
raise ValueError(
|
|
91
|
+
"badge_position must be between 0.0 and 1.0 inclusive, "
|
|
92
|
+
f"got {self.badge_position}"
|
|
93
|
+
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-charts
|
|
3
|
-
Version: 0.70.0.
|
|
3
|
+
Version: 0.70.0.dev6370
|
|
4
4
|
Summary: Interactive chart controls for Flet apps.
|
|
5
5
|
Author-email: Flet contributors <hello@flet.dev>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -11,7 +11,7 @@ Project-URL: Issues, https://github.com/flet-dev/flet/issues
|
|
|
11
11
|
Requires-Python: >=3.10
|
|
12
12
|
Description-Content-Type: text/markdown
|
|
13
13
|
License-File: LICENSE
|
|
14
|
-
Requires-Dist: flet==0.70.0.
|
|
14
|
+
Requires-Dist: flet==0.70.0.dev6370
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-charts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet==0.70.0.dev6370
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
flet==0.70.0.dev6365
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/bar_chart_group.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/candlestick_chart.py
RENAMED
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/candlestick_chart_spot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/matplotlib_chart.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts/scatter_chart_spot.py
RENAMED
|
File without changes
|
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flet_charts.egg-info/top_level.txt
RENAMED
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/CHANGELOG.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/pubspec.lock
RENAMED
|
File without changes
|
{flet_charts-0.70.0.dev6365 → flet_charts-0.70.0.dev6370}/src/flutter/flet_charts/pubspec.yaml
RENAMED
|
File without changes
|