reflex-silverpoint-react 0.3.0__tar.gz → 0.6.0__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.
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/PKG-INFO +70 -7
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/README.md +68 -5
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/__init__.py +110 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/base.py +1 -1
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/catalog.py +468 -1
- reflex_silverpoint_react-0.6.0/custom_components/reflex_silverpoint_react/charts.py +1283 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/charts.pyi +3570 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react.egg-info/PKG-INFO +70 -7
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react.egg-info/SOURCES.txt +2 -1
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/pyproject.toml +2 -2
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/tests/test_components.py +109 -6
- reflex_silverpoint_react-0.6.0/tests/test_demo_data.py +85 -0
- reflex_silverpoint_react-0.3.0/custom_components/reflex_silverpoint_react/charts.py +0 -645
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/LICENSE +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/base.pyi +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/dashboard.py +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/dashboard.pyi +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/helpers.py +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/ui.py +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/ui.pyi +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react/ui_catalog.py +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react.egg-info/dependency_links.txt +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react.egg-info/requires.txt +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/custom_components/reflex_silverpoint_react.egg-info/top_level.txt +0 -0
- {reflex_silverpoint_react-0.3.0 → reflex_silverpoint_react-0.6.0}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: reflex-silverpoint-react
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary: The
|
|
3
|
+
Version: 0.6.0
|
|
4
|
+
Summary: The 60 silverpoint charts, the linked Dashboard and the 17 UI components (Renaissance silverpoint drawing style) for Reflex, wrapping @silverpoint/react
|
|
5
5
|
Author-email: Ernesto Crespo <ecrespo@gmail.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/ecrespo/reflex-silverpoint-react
|
|
@@ -33,12 +33,26 @@ prepared ground, tone built from hatching, and white heightening on the live val
|
|
|
33
33
|
The hand-drawn irregularity lives only in the ornament. The data geometry is exact, and every chart
|
|
34
34
|
has a `precision` mode that turns the inking off.
|
|
35
35
|
|
|
36
|
-
It wraps [`@silverpoint/react`](https://www.npmjs.com/package/@silverpoint/react) 0.
|
|
37
|
-
**all
|
|
36
|
+
It wraps [`@silverpoint/react`](https://www.npmjs.com/package/@silverpoint/react) 0.6.0 and exposes
|
|
37
|
+
**all 60 charts**, the **`Dashboard`** (a laid-out, linkable grid of charts), the **17 UI
|
|
38
38
|
components** (buttons, inputs, tabs, cards, alerts…), the `SilverpointProvider`, both grounds
|
|
39
39
|
(`silverpoint` and `cyanotype`), the interaction events, custom readouts and the imperative handle
|
|
40
40
|
(SVG export and geometry) as Python.
|
|
41
41
|
|
|
42
|
+
### New in 0.6
|
|
43
|
+
|
|
44
|
+
- **27 new charts**, the second catalog of silverpoint 0.6:
|
|
45
|
+
- distributions & comparisons: `histogram_chart`, `ecdf_chart`, `box_plot_chart`, `violin_chart`,
|
|
46
|
+
`ridgeline_chart`, `beeswarm_chart`, `lollipop_chart`, `dumbbell_chart`, `slope_chart`,
|
|
47
|
+
`bump_chart`, `error_bar_chart`, `interval_chart`, `diverging_bar_chart`, `connected_scatter_chart`;
|
|
48
|
+
- hierarchies & dimensions: `waffle_chart`, `marimekko_chart`, `squarified_treemap`,
|
|
49
|
+
`sunburst_chart`, `tree_chart`, `parallel_coordinates_chart`, `polar_line_chart`,
|
|
50
|
+
`polar_scatter_chart`;
|
|
51
|
+
- fields & networks: `density_bin_chart`, `contour_chart`, `delaunay_chart`, `vector_field_chart`,
|
|
52
|
+
`network_chart` (with the `network_node` helper).
|
|
53
|
+
- **Drill-down** on `squarified_treemap` and `sunburst_chart`: `root_id` plus the `on_root_change`
|
|
54
|
+
event. See [Drill-down](#drill-down).
|
|
55
|
+
|
|
42
56
|
### New in 0.3
|
|
43
57
|
|
|
44
58
|
- **17 UI components**, drawn as the charts are: `sp_button`, `sp_input`, `sp_checkbox`,
|
|
@@ -109,7 +123,7 @@ Props are the React props in `snake_case`: `xKey` → `x_key`, `hatchFill` → `
|
|
|
109
123
|
`footerRight` → `footer_right`, `centerLabel` → `center_label`, and so on. `data` and every prop can
|
|
110
124
|
be a Reflex state var.
|
|
111
125
|
|
|
112
|
-
## The
|
|
126
|
+
## The 60 charts
|
|
113
127
|
|
|
114
128
|
| Family | Charts |
|
|
115
129
|
|---|---|
|
|
@@ -119,11 +133,60 @@ be a Reflex state var.
|
|
|
119
133
|
| Points & grids | `scatter_chart`, `bubble_chart`, `heatmap_chart`, `treemap_chart`, `activity_grid` |
|
|
120
134
|
| Flows | `sankey_chart`, `chord_ring` |
|
|
121
135
|
| Radial | `donut_chart`, `radar_chart`, `polar_bar_chart`, `radial_arc_group`, `radial_rings`, `gauge_arc`, `meter_chart`, `coxcomb_chart`, `wind_rose`, `volvelle_chart`, `orbit_chart` |
|
|
136
|
+
| Distributions & comparisons (0.6) | `histogram_chart`, `ecdf_chart`, `box_plot_chart`, `violin_chart`, `ridgeline_chart`, `beeswarm_chart`, `lollipop_chart`, `dumbbell_chart`, `slope_chart`, `bump_chart`, `error_bar_chart`, `interval_chart`, `diverging_bar_chart`, `connected_scatter_chart` |
|
|
137
|
+
| Hierarchies & dimensions (0.6) | `waffle_chart`, `marimekko_chart`, `squarified_treemap`, `sunburst_chart`, `tree_chart`, `parallel_coordinates_chart`, `polar_line_chart`, `polar_scatter_chart` |
|
|
138
|
+
| Fields & networks (0.6) | `density_bin_chart`, `contour_chart`, `delaunay_chart`, `vector_field_chart`, `network_chart` |
|
|
122
139
|
|
|
123
140
|
Every factory has a class of the same name in `PascalCase` (`LineChart`, `WindRose`…).
|
|
124
141
|
`reflex_silverpoint_react.CHARTS` is the whole catalog with each chart's family and the reference of
|
|
125
142
|
its own props (`COMMON_PROPS` holds the shared ones), handy for galleries and documentation.
|
|
126
143
|
|
|
144
|
+
With your own `data`, `ridgeline_chart` needs `group_key`, `diverging_bar_chart` needs `levels` (the
|
|
145
|
+
level columns, most negative first) and `parallel_coordinates_chart` needs `dimensions` (the columns,
|
|
146
|
+
in axis order). The demo datasets ignore them.
|
|
147
|
+
|
|
148
|
+
`network_chart` lays its nodes out by force, the same on the server and in every browser for a given
|
|
149
|
+
`seed`. Pass `nodes` to name and group them, built with `network_node`. A node with an `x` and a `y`
|
|
150
|
+
is drawn there, and when every node has both no layout runs:
|
|
151
|
+
|
|
152
|
+
```python
|
|
153
|
+
from reflex_silverpoint_react import network_chart, network_node
|
|
154
|
+
|
|
155
|
+
network_chart(
|
|
156
|
+
data=State.links, # [{"source": "a", "target": "b", "weight": 3}, ...]
|
|
157
|
+
source_key="source",
|
|
158
|
+
target_key="target",
|
|
159
|
+
value_key="weight",
|
|
160
|
+
nodes=[network_node("a", label="Archive", group="storage"), network_node("b", label="Billing")],
|
|
161
|
+
)
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Drill-down
|
|
165
|
+
|
|
166
|
+
`squarified_treemap` and `sunburst_chart` drill down under your control. The chart keeps no root of
|
|
167
|
+
its own: a click, Enter or Space on a node sends its id to `on_root_change` (the parent's id from the
|
|
168
|
+
centre or the frame, `None` at the top), and you pass it back as `root_id`:
|
|
169
|
+
|
|
170
|
+
```python
|
|
171
|
+
class Budget(rx.State):
|
|
172
|
+
root: str | None = None
|
|
173
|
+
|
|
174
|
+
@rx.event
|
|
175
|
+
def drill(self, node_id: str | None):
|
|
176
|
+
self.root = node_id
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
squarified_treemap(
|
|
180
|
+
data=rows, # one row per node: {"id": ..., "parent": ... or None, "name": ..., "amount": ...}
|
|
181
|
+
id_key="id",
|
|
182
|
+
parent_key="parent",
|
|
183
|
+
label_key="name",
|
|
184
|
+
value_key="amount",
|
|
185
|
+
root_id=Budget.root,
|
|
186
|
+
on_root_change=Budget.drill,
|
|
187
|
+
)
|
|
188
|
+
```
|
|
189
|
+
|
|
127
190
|
## Props every chart shares
|
|
128
191
|
|
|
129
192
|
| Prop | Default | |
|
|
@@ -353,10 +416,10 @@ cd silverpoint_react_demo
|
|
|
353
416
|
uv run reflex run
|
|
354
417
|
```
|
|
355
418
|
|
|
356
|
-
Pages: **Start** (quickstart, provider, ink vs precision), **Gallery** (the
|
|
419
|
+
Pages: **Start** (quickstart, provider, ink vs precision), **Gallery** (the 60 charts, ground
|
|
357
420
|
controls, demo datasets vs data from Python state with a re-roll), **Playground** (one chart, every
|
|
358
421
|
rendering choice and the Python that reproduces it), **Interaction** (events, custom readout, a
|
|
359
|
-
volvelle that turns on click, live KPI/gauge/meter, SVG and geometry export), **Dashboard** (a
|
|
422
|
+
volvelle that turns on click, a treemap and a sunburst that drill down together, live KPI/gauge/meter, SVG and geometry export), **Dashboard** (a
|
|
360
423
|
linked operations dashboard fed from Python state with ground, substrate, mode and column controls, a
|
|
361
424
|
KPI strip, and `dashboard_link` on its own), **UI components** (`/ui`: the components controlled from
|
|
362
425
|
Python state with a native form submit, and the three reference panels of the upstream example apps
|
|
@@ -7,12 +7,26 @@ prepared ground, tone built from hatching, and white heightening on the live val
|
|
|
7
7
|
The hand-drawn irregularity lives only in the ornament. The data geometry is exact, and every chart
|
|
8
8
|
has a `precision` mode that turns the inking off.
|
|
9
9
|
|
|
10
|
-
It wraps [`@silverpoint/react`](https://www.npmjs.com/package/@silverpoint/react) 0.
|
|
11
|
-
**all
|
|
10
|
+
It wraps [`@silverpoint/react`](https://www.npmjs.com/package/@silverpoint/react) 0.6.0 and exposes
|
|
11
|
+
**all 60 charts**, the **`Dashboard`** (a laid-out, linkable grid of charts), the **17 UI
|
|
12
12
|
components** (buttons, inputs, tabs, cards, alerts…), the `SilverpointProvider`, both grounds
|
|
13
13
|
(`silverpoint` and `cyanotype`), the interaction events, custom readouts and the imperative handle
|
|
14
14
|
(SVG export and geometry) as Python.
|
|
15
15
|
|
|
16
|
+
### New in 0.6
|
|
17
|
+
|
|
18
|
+
- **27 new charts**, the second catalog of silverpoint 0.6:
|
|
19
|
+
- distributions & comparisons: `histogram_chart`, `ecdf_chart`, `box_plot_chart`, `violin_chart`,
|
|
20
|
+
`ridgeline_chart`, `beeswarm_chart`, `lollipop_chart`, `dumbbell_chart`, `slope_chart`,
|
|
21
|
+
`bump_chart`, `error_bar_chart`, `interval_chart`, `diverging_bar_chart`, `connected_scatter_chart`;
|
|
22
|
+
- hierarchies & dimensions: `waffle_chart`, `marimekko_chart`, `squarified_treemap`,
|
|
23
|
+
`sunburst_chart`, `tree_chart`, `parallel_coordinates_chart`, `polar_line_chart`,
|
|
24
|
+
`polar_scatter_chart`;
|
|
25
|
+
- fields & networks: `density_bin_chart`, `contour_chart`, `delaunay_chart`, `vector_field_chart`,
|
|
26
|
+
`network_chart` (with the `network_node` helper).
|
|
27
|
+
- **Drill-down** on `squarified_treemap` and `sunburst_chart`: `root_id` plus the `on_root_change`
|
|
28
|
+
event. See [Drill-down](#drill-down).
|
|
29
|
+
|
|
16
30
|
### New in 0.3
|
|
17
31
|
|
|
18
32
|
- **17 UI components**, drawn as the charts are: `sp_button`, `sp_input`, `sp_checkbox`,
|
|
@@ -83,7 +97,7 @@ Props are the React props in `snake_case`: `xKey` → `x_key`, `hatchFill` → `
|
|
|
83
97
|
`footerRight` → `footer_right`, `centerLabel` → `center_label`, and so on. `data` and every prop can
|
|
84
98
|
be a Reflex state var.
|
|
85
99
|
|
|
86
|
-
## The
|
|
100
|
+
## The 60 charts
|
|
87
101
|
|
|
88
102
|
| Family | Charts |
|
|
89
103
|
|---|---|
|
|
@@ -93,11 +107,60 @@ be a Reflex state var.
|
|
|
93
107
|
| Points & grids | `scatter_chart`, `bubble_chart`, `heatmap_chart`, `treemap_chart`, `activity_grid` |
|
|
94
108
|
| Flows | `sankey_chart`, `chord_ring` |
|
|
95
109
|
| Radial | `donut_chart`, `radar_chart`, `polar_bar_chart`, `radial_arc_group`, `radial_rings`, `gauge_arc`, `meter_chart`, `coxcomb_chart`, `wind_rose`, `volvelle_chart`, `orbit_chart` |
|
|
110
|
+
| Distributions & comparisons (0.6) | `histogram_chart`, `ecdf_chart`, `box_plot_chart`, `violin_chart`, `ridgeline_chart`, `beeswarm_chart`, `lollipop_chart`, `dumbbell_chart`, `slope_chart`, `bump_chart`, `error_bar_chart`, `interval_chart`, `diverging_bar_chart`, `connected_scatter_chart` |
|
|
111
|
+
| Hierarchies & dimensions (0.6) | `waffle_chart`, `marimekko_chart`, `squarified_treemap`, `sunburst_chart`, `tree_chart`, `parallel_coordinates_chart`, `polar_line_chart`, `polar_scatter_chart` |
|
|
112
|
+
| Fields & networks (0.6) | `density_bin_chart`, `contour_chart`, `delaunay_chart`, `vector_field_chart`, `network_chart` |
|
|
96
113
|
|
|
97
114
|
Every factory has a class of the same name in `PascalCase` (`LineChart`, `WindRose`…).
|
|
98
115
|
`reflex_silverpoint_react.CHARTS` is the whole catalog with each chart's family and the reference of
|
|
99
116
|
its own props (`COMMON_PROPS` holds the shared ones), handy for galleries and documentation.
|
|
100
117
|
|
|
118
|
+
With your own `data`, `ridgeline_chart` needs `group_key`, `diverging_bar_chart` needs `levels` (the
|
|
119
|
+
level columns, most negative first) and `parallel_coordinates_chart` needs `dimensions` (the columns,
|
|
120
|
+
in axis order). The demo datasets ignore them.
|
|
121
|
+
|
|
122
|
+
`network_chart` lays its nodes out by force, the same on the server and in every browser for a given
|
|
123
|
+
`seed`. Pass `nodes` to name and group them, built with `network_node`. A node with an `x` and a `y`
|
|
124
|
+
is drawn there, and when every node has both no layout runs:
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
from reflex_silverpoint_react import network_chart, network_node
|
|
128
|
+
|
|
129
|
+
network_chart(
|
|
130
|
+
data=State.links, # [{"source": "a", "target": "b", "weight": 3}, ...]
|
|
131
|
+
source_key="source",
|
|
132
|
+
target_key="target",
|
|
133
|
+
value_key="weight",
|
|
134
|
+
nodes=[network_node("a", label="Archive", group="storage"), network_node("b", label="Billing")],
|
|
135
|
+
)
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
### Drill-down
|
|
139
|
+
|
|
140
|
+
`squarified_treemap` and `sunburst_chart` drill down under your control. The chart keeps no root of
|
|
141
|
+
its own: a click, Enter or Space on a node sends its id to `on_root_change` (the parent's id from the
|
|
142
|
+
centre or the frame, `None` at the top), and you pass it back as `root_id`:
|
|
143
|
+
|
|
144
|
+
```python
|
|
145
|
+
class Budget(rx.State):
|
|
146
|
+
root: str | None = None
|
|
147
|
+
|
|
148
|
+
@rx.event
|
|
149
|
+
def drill(self, node_id: str | None):
|
|
150
|
+
self.root = node_id
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
squarified_treemap(
|
|
154
|
+
data=rows, # one row per node: {"id": ..., "parent": ... or None, "name": ..., "amount": ...}
|
|
155
|
+
id_key="id",
|
|
156
|
+
parent_key="parent",
|
|
157
|
+
label_key="name",
|
|
158
|
+
value_key="amount",
|
|
159
|
+
root_id=Budget.root,
|
|
160
|
+
on_root_change=Budget.drill,
|
|
161
|
+
)
|
|
162
|
+
```
|
|
163
|
+
|
|
101
164
|
## Props every chart shares
|
|
102
165
|
|
|
103
166
|
| Prop | Default | |
|
|
@@ -327,10 +390,10 @@ cd silverpoint_react_demo
|
|
|
327
390
|
uv run reflex run
|
|
328
391
|
```
|
|
329
392
|
|
|
330
|
-
Pages: **Start** (quickstart, provider, ink vs precision), **Gallery** (the
|
|
393
|
+
Pages: **Start** (quickstart, provider, ink vs precision), **Gallery** (the 60 charts, ground
|
|
331
394
|
controls, demo datasets vs data from Python state with a re-roll), **Playground** (one chart, every
|
|
332
395
|
rendering choice and the Python that reproduces it), **Interaction** (events, custom readout, a
|
|
333
|
-
volvelle that turns on click, live KPI/gauge/meter, SVG and geometry export), **Dashboard** (a
|
|
396
|
+
volvelle that turns on click, a treemap and a sunburst that drill down together, live KPI/gauge/meter, SVG and geometry export), **Dashboard** (a
|
|
334
397
|
linked operations dashboard fed from Python state with ground, substrate, mode and column controls, a
|
|
335
398
|
KPI strip, and `dashboard_link` on its own), **UI components** (`/ui`: the components controlled from
|
|
336
399
|
Python state with a native form submit, and the three reference panels of the upstream example apps
|
|
@@ -18,67 +18,122 @@ from .charts import (
|
|
|
18
18
|
ActivityGrid,
|
|
19
19
|
AreaChart,
|
|
20
20
|
BarChart,
|
|
21
|
+
BeeswarmChart,
|
|
22
|
+
BoxPlotChart,
|
|
21
23
|
BubbleChart,
|
|
22
24
|
BulletChart,
|
|
25
|
+
BumpChart,
|
|
23
26
|
CandlestickChart,
|
|
24
27
|
ChordRing,
|
|
25
28
|
ComposedChart,
|
|
29
|
+
ConnectedScatterChart,
|
|
30
|
+
ContourChart,
|
|
26
31
|
CoxcombChart,
|
|
32
|
+
DelaunayChart,
|
|
33
|
+
DensityBinChart,
|
|
34
|
+
DivergingBarChart,
|
|
27
35
|
DonutChart,
|
|
36
|
+
DumbbellChart,
|
|
37
|
+
EcdfChart,
|
|
38
|
+
ErrorBarChart,
|
|
28
39
|
FunnelChart,
|
|
29
40
|
GaugeArc,
|
|
30
41
|
HeatmapChart,
|
|
42
|
+
HistogramChart,
|
|
43
|
+
IntervalChart,
|
|
31
44
|
KpiCard,
|
|
32
45
|
LineChart,
|
|
46
|
+
LollipopChart,
|
|
47
|
+
MarimekkoChart,
|
|
33
48
|
MeterChart,
|
|
49
|
+
NetworkChart,
|
|
34
50
|
OrbitChart,
|
|
51
|
+
ParallelCoordinatesChart,
|
|
35
52
|
PolarBarChart,
|
|
53
|
+
PolarLineChart,
|
|
54
|
+
PolarScatterChart,
|
|
36
55
|
PyramidChart,
|
|
37
56
|
RadarChart,
|
|
38
57
|
RadialArcGroup,
|
|
39
58
|
RadialRings,
|
|
40
59
|
RangeBandChart,
|
|
60
|
+
RidgelineChart,
|
|
41
61
|
SankeyChart,
|
|
42
62
|
ScatterChart,
|
|
63
|
+
SlopeChart,
|
|
43
64
|
SparklineRows,
|
|
65
|
+
SquarifiedTreemap,
|
|
44
66
|
StackedBarChart,
|
|
45
67
|
StepChart,
|
|
46
68
|
StreamChart,
|
|
69
|
+
SunburstChart,
|
|
70
|
+
TreeChart,
|
|
47
71
|
TreemapChart,
|
|
72
|
+
VectorFieldChart,
|
|
73
|
+
ViolinChart,
|
|
48
74
|
VolvelleChart,
|
|
75
|
+
WaffleChart,
|
|
49
76
|
WaterfallChart,
|
|
50
77
|
WindRose,
|
|
51
78
|
activity_grid,
|
|
52
79
|
area_chart,
|
|
53
80
|
bar_chart,
|
|
81
|
+
beeswarm_chart,
|
|
82
|
+
box_plot_chart,
|
|
54
83
|
bubble_chart,
|
|
55
84
|
bullet_chart,
|
|
85
|
+
bump_chart,
|
|
56
86
|
candlestick_chart,
|
|
57
87
|
chord_ring,
|
|
58
88
|
composed_chart,
|
|
89
|
+
connected_scatter_chart,
|
|
90
|
+
contour_chart,
|
|
59
91
|
coxcomb_chart,
|
|
92
|
+
delaunay_chart,
|
|
93
|
+
density_bin_chart,
|
|
94
|
+
diverging_bar_chart,
|
|
60
95
|
donut_chart,
|
|
96
|
+
dumbbell_chart,
|
|
97
|
+
ecdf_chart,
|
|
98
|
+
error_bar_chart,
|
|
61
99
|
funnel_chart,
|
|
62
100
|
gauge_arc,
|
|
63
101
|
heatmap_chart,
|
|
102
|
+
histogram_chart,
|
|
103
|
+
interval_chart,
|
|
64
104
|
kpi_card,
|
|
65
105
|
line_chart,
|
|
106
|
+
lollipop_chart,
|
|
107
|
+
marimekko_chart,
|
|
66
108
|
meter_chart,
|
|
109
|
+
network_chart,
|
|
110
|
+
network_node,
|
|
67
111
|
orbit_chart,
|
|
112
|
+
parallel_coordinates_chart,
|
|
68
113
|
polar_bar_chart,
|
|
114
|
+
polar_line_chart,
|
|
115
|
+
polar_scatter_chart,
|
|
69
116
|
pyramid_chart,
|
|
70
117
|
radar_chart,
|
|
71
118
|
radial_arc_group,
|
|
72
119
|
radial_rings,
|
|
73
120
|
range_band_chart,
|
|
121
|
+
ridgeline_chart,
|
|
74
122
|
sankey_chart,
|
|
75
123
|
scatter_chart,
|
|
124
|
+
slope_chart,
|
|
76
125
|
sparkline_rows,
|
|
126
|
+
squarified_treemap,
|
|
77
127
|
stacked_bar_chart,
|
|
78
128
|
step_chart,
|
|
79
129
|
stream_chart,
|
|
130
|
+
sunburst_chart,
|
|
131
|
+
tree_chart,
|
|
80
132
|
treemap_chart,
|
|
133
|
+
vector_field_chart,
|
|
134
|
+
violin_chart,
|
|
81
135
|
volvelle_chart,
|
|
136
|
+
waffle_chart,
|
|
82
137
|
waterfall_chart,
|
|
83
138
|
wind_rose,
|
|
84
139
|
)
|
|
@@ -164,37 +219,58 @@ __all__ = [
|
|
|
164
219
|
"ActivityGrid",
|
|
165
220
|
"AreaChart",
|
|
166
221
|
"BarChart",
|
|
222
|
+
"BeeswarmChart",
|
|
223
|
+
"BoxPlotChart",
|
|
167
224
|
"BubbleChart",
|
|
168
225
|
"BulletChart",
|
|
226
|
+
"BumpChart",
|
|
169
227
|
"CandlestickChart",
|
|
170
228
|
"ChartInfo",
|
|
171
229
|
"ChordRing",
|
|
172
230
|
"ComposedChart",
|
|
231
|
+
"ConnectedScatterChart",
|
|
232
|
+
"ContourChart",
|
|
173
233
|
"CoxcombChart",
|
|
174
234
|
"Dashboard",
|
|
175
235
|
"DashboardCell",
|
|
176
236
|
"DashboardLink",
|
|
237
|
+
"DelaunayChart",
|
|
238
|
+
"DensityBinChart",
|
|
239
|
+
"DivergingBarChart",
|
|
177
240
|
"DonutChart",
|
|
241
|
+
"DumbbellChart",
|
|
242
|
+
"EcdfChart",
|
|
243
|
+
"ErrorBarChart",
|
|
178
244
|
"FunnelChart",
|
|
179
245
|
"GaugeArc",
|
|
180
246
|
"GroundName",
|
|
181
247
|
"HeatmapChart",
|
|
248
|
+
"HistogramChart",
|
|
249
|
+
"IntervalChart",
|
|
182
250
|
"KpiCard",
|
|
183
251
|
"LineChart",
|
|
252
|
+
"LollipopChart",
|
|
253
|
+
"MarimekkoChart",
|
|
184
254
|
"MeterChart",
|
|
255
|
+
"NetworkChart",
|
|
185
256
|
"OrbitChart",
|
|
257
|
+
"ParallelCoordinatesChart",
|
|
186
258
|
"PolarBarChart",
|
|
259
|
+
"PolarLineChart",
|
|
260
|
+
"PolarScatterChart",
|
|
187
261
|
"PropDoc",
|
|
188
262
|
"PyramidChart",
|
|
189
263
|
"RadarChart",
|
|
190
264
|
"RadialArcGroup",
|
|
191
265
|
"RadialRings",
|
|
192
266
|
"RangeBandChart",
|
|
267
|
+
"RidgelineChart",
|
|
193
268
|
"SankeyChart",
|
|
194
269
|
"ScatterChart",
|
|
195
270
|
"SilverpointChart",
|
|
196
271
|
"SilverpointProvider",
|
|
197
272
|
"SilverpointUi",
|
|
273
|
+
"SlopeChart",
|
|
198
274
|
"SpAlert",
|
|
199
275
|
"SpBadge",
|
|
200
276
|
"SpButton",
|
|
@@ -214,51 +290,79 @@ __all__ = [
|
|
|
214
290
|
"SpTabs",
|
|
215
291
|
"SpTag",
|
|
216
292
|
"SparklineRows",
|
|
293
|
+
"SquarifiedTreemap",
|
|
217
294
|
"StackedBarChart",
|
|
218
295
|
"StepChart",
|
|
219
296
|
"StreamChart",
|
|
297
|
+
"SunburstChart",
|
|
298
|
+
"TreeChart",
|
|
220
299
|
"TreemapChart",
|
|
221
300
|
"UiComponentInfo",
|
|
301
|
+
"VectorFieldChart",
|
|
302
|
+
"ViolinChart",
|
|
222
303
|
"VolvelleChart",
|
|
304
|
+
"WaffleChart",
|
|
223
305
|
"WaterfallChart",
|
|
224
306
|
"WindRose",
|
|
225
307
|
"activity_grid",
|
|
226
308
|
"area_chart",
|
|
227
309
|
"bar_chart",
|
|
310
|
+
"beeswarm_chart",
|
|
311
|
+
"box_plot_chart",
|
|
228
312
|
"bubble_chart",
|
|
229
313
|
"bullet_chart",
|
|
314
|
+
"bump_chart",
|
|
230
315
|
"candlestick_chart",
|
|
231
316
|
"chart_by_name",
|
|
232
317
|
"chart_by_slug",
|
|
233
318
|
"chart_ref",
|
|
234
319
|
"chord_ring",
|
|
235
320
|
"composed_chart",
|
|
321
|
+
"connected_scatter_chart",
|
|
322
|
+
"contour_chart",
|
|
236
323
|
"coxcomb_chart",
|
|
237
324
|
"dashboard",
|
|
238
325
|
"dashboard_cell",
|
|
239
326
|
"dashboard_cell_layout",
|
|
240
327
|
"dashboard_layout",
|
|
241
328
|
"dashboard_link",
|
|
329
|
+
"delaunay_chart",
|
|
330
|
+
"density_bin_chart",
|
|
331
|
+
"diverging_bar_chart",
|
|
242
332
|
"donut_chart",
|
|
243
333
|
"download_svg",
|
|
334
|
+
"dumbbell_chart",
|
|
335
|
+
"ecdf_chart",
|
|
336
|
+
"error_bar_chart",
|
|
244
337
|
"funnel_chart",
|
|
245
338
|
"gauge_arc",
|
|
246
339
|
"get_geometry",
|
|
247
340
|
"get_svg",
|
|
248
341
|
"heatmap_chart",
|
|
342
|
+
"histogram_chart",
|
|
343
|
+
"interval_chart",
|
|
249
344
|
"kpi_card",
|
|
250
345
|
"line_chart",
|
|
346
|
+
"lollipop_chart",
|
|
347
|
+
"marimekko_chart",
|
|
251
348
|
"meter_chart",
|
|
349
|
+
"network_chart",
|
|
350
|
+
"network_node",
|
|
252
351
|
"orbit_chart",
|
|
352
|
+
"parallel_coordinates_chart",
|
|
253
353
|
"polar_bar_chart",
|
|
354
|
+
"polar_line_chart",
|
|
355
|
+
"polar_scatter_chart",
|
|
254
356
|
"pyramid_chart",
|
|
255
357
|
"radar_chart",
|
|
256
358
|
"radial_arc_group",
|
|
257
359
|
"radial_rings",
|
|
258
360
|
"range_band_chart",
|
|
361
|
+
"ridgeline_chart",
|
|
259
362
|
"sankey_chart",
|
|
260
363
|
"scatter_chart",
|
|
261
364
|
"silverpoint_provider",
|
|
365
|
+
"slope_chart",
|
|
262
366
|
"sp_alert",
|
|
263
367
|
"sp_badge",
|
|
264
368
|
"sp_button",
|
|
@@ -278,16 +382,22 @@ __all__ = [
|
|
|
278
382
|
"sp_tabs",
|
|
279
383
|
"sp_tag",
|
|
280
384
|
"sparkline_rows",
|
|
385
|
+
"squarified_treemap",
|
|
281
386
|
"stacked_bar_chart",
|
|
282
387
|
"step_chart",
|
|
283
388
|
"step_item",
|
|
284
389
|
"stream_chart",
|
|
390
|
+
"sunburst_chart",
|
|
285
391
|
"tooltip_template",
|
|
392
|
+
"tree_chart",
|
|
286
393
|
"treemap_chart",
|
|
287
394
|
"ui_component_by_slug",
|
|
288
395
|
"ui_demo",
|
|
289
396
|
"ui_item",
|
|
397
|
+
"vector_field_chart",
|
|
398
|
+
"violin_chart",
|
|
290
399
|
"volvelle_chart",
|
|
400
|
+
"waffle_chart",
|
|
291
401
|
"waterfall_chart",
|
|
292
402
|
"wind_rose",
|
|
293
403
|
]
|
|
@@ -16,7 +16,7 @@ from typing import Any, Literal
|
|
|
16
16
|
import reflex as rx
|
|
17
17
|
|
|
18
18
|
#: The silverpoint npm release these wrappers are written against.
|
|
19
|
-
SILVERPOINT_VERSION = "0.
|
|
19
|
+
SILVERPOINT_VERSION = "0.6.0"
|
|
20
20
|
|
|
21
21
|
#: The npm package every chart is imported from (the barrel; it is side-effect free, so the
|
|
22
22
|
#: bundler keeps only the charts a page uses).
|