flet-charts 0.85.0.dev0__tar.gz → 0.85.0.dev2__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.
- {flet_charts-0.85.0.dev0/src/flet_charts.egg-info → flet_charts-0.85.0.dev2}/PKG-INFO +3 -3
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/README.md +1 -1
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/pyproject.toml +2 -2
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2/src/flet_charts.egg-info}/PKG-INFO +3 -3
- flet_charts-0.85.0.dev2/src/flet_charts.egg-info/requires.txt +1 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/utils/charts.dart +5 -2
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/pubspec.yaml +1 -1
- flet_charts-0.85.0.dev0/src/flet_charts.egg-info/requires.txt +0 -1
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/LICENSE +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/setup.cfg +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/__init__.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/bar_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/bar_chart_group.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/bar_chart_rod.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/bar_chart_rod_stack_item.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/candlestick_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/candlestick_chart_spot.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/chart_axis.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/line_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/line_chart_data.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/line_chart_data_point.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/matplotlib_backends/backend_flet_agg.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/matplotlib_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/matplotlib_chart_with_toolbar.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/pie_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/pie_chart_section.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/plotly_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/radar_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/radar_data_set.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/scatter_chart.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/scatter_chart_spot.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/types.py +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts.egg-info/SOURCES.txt +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts.egg-info/dependency_links.txt +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts.egg-info/top_level.txt +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/flet_charts.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/bar_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/candlestick_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/extension.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/line_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/pie_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/radar_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/scatter_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/utils/bar_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/utils/candlestick_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/utils/line_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/utils/pie_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/utils/radar_chart.dart +0 -0
- {flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/utils/scatter_chart.dart +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-charts
|
|
3
|
-
Version: 0.85.0.
|
|
3
|
+
Version: 0.85.0.dev2
|
|
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.85.0.
|
|
14
|
+
Requires-Dist: flet==0.85.0.dev2
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-charts
|
|
@@ -55,7 +55,7 @@ To install the `flet-charts` package and add it to your project dependencies:
|
|
|
55
55
|
|
|
56
56
|
### Examples
|
|
57
57
|
|
|
58
|
-
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/
|
|
58
|
+
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/extensions/charts).
|
|
59
59
|
|
|
60
60
|
### Available charts
|
|
61
61
|
|
|
@@ -39,7 +39,7 @@ To install the `flet-charts` package and add it to your project dependencies:
|
|
|
39
39
|
|
|
40
40
|
### Examples
|
|
41
41
|
|
|
42
|
-
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/
|
|
42
|
+
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/extensions/charts).
|
|
43
43
|
|
|
44
44
|
### Available charts
|
|
45
45
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "flet-charts"
|
|
3
|
-
version = "0.85.0.
|
|
3
|
+
version = "0.85.0.dev2"
|
|
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.85.0.
|
|
10
|
+
"flet==0.85.0.dev2",
|
|
11
11
|
]
|
|
12
12
|
|
|
13
13
|
[project.urls]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: flet-charts
|
|
3
|
-
Version: 0.85.0.
|
|
3
|
+
Version: 0.85.0.dev2
|
|
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.85.0.
|
|
14
|
+
Requires-Dist: flet==0.85.0.dev2
|
|
15
15
|
Dynamic: license-file
|
|
16
16
|
|
|
17
17
|
# flet-charts
|
|
@@ -55,7 +55,7 @@ To install the `flet-charts` package and add it to your project dependencies:
|
|
|
55
55
|
|
|
56
56
|
### Examples
|
|
57
57
|
|
|
58
|
-
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/
|
|
58
|
+
For examples, see [these](https://github.com/flet-dev/flet/tree/main/sdk/python/examples/extensions/charts).
|
|
59
59
|
|
|
60
60
|
### Available charts
|
|
61
61
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
flet==0.85.0.dev2
|
|
@@ -156,8 +156,11 @@ AxisTitles parseAxisTitles(Control? control) {
|
|
|
156
156
|
getTitlesWidget: labels.isEmpty
|
|
157
157
|
? defaultGetTitle
|
|
158
158
|
: (double value, TitleMeta meta) {
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
final epsilon = meta.appliedInterval * 1e-3;
|
|
160
|
+
final label = labels.firstWhereOrNull((l) {
|
|
161
|
+
final v = l.getDouble("value");
|
|
162
|
+
return v != null && (v - value).abs() < epsilon;
|
|
163
|
+
});
|
|
161
164
|
return label?.buildTextOrWidget("label") ??
|
|
162
165
|
const SizedBox.shrink();
|
|
163
166
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
flet==0.85.0.dev0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/bar_chart_rod_stack_item.py
RENAMED
|
File without changes
|
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/candlestick_chart_spot.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/line_chart_data_point.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts/matplotlib_chart_with_toolbar.py
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
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flet_charts.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/flet_charts.dart
RENAMED
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/bar_chart.dart
RENAMED
|
File without changes
|
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/extension.dart
RENAMED
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/line_chart.dart
RENAMED
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/pie_chart.dart
RENAMED
|
File without changes
|
{flet_charts-0.85.0.dev0 → flet_charts-0.85.0.dev2}/src/flutter/flet_charts/lib/src/radar_chart.dart
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
|