fastplotpy 0.3.0a1__py3-none-win_amd64.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.
- fastplotpy/README.md +70 -0
- fastplotpy/__init__.py +33 -0
- fastplotpy/assets/dist/assets/scene.worker-CcnexaKr.js +1 -0
- fastplotpy/assets/dist/index.js +15071 -0
- fastplotpy/assets/native/NotoSans-OFL.txt +96 -0
- fastplotpy/assets/native/THIRD_PARTY_NOTICES.md +24 -0
- fastplotpy/assets/native/fastplot_python_abi.dll +0 -0
- fastplotpy/assets/package.json +1 -0
- fastplotpy/axes_validation.py +102 -0
- fastplotpy/camera3d.py +104 -0
- fastplotpy/color_scale.py +88 -0
- fastplotpy/defaults/area-fill.json +5 -0
- fastplotpy/defaults/bar.json +22 -0
- fastplotpy/defaults/camera3d.json +22 -0
- fastplotpy/defaults/cartesian-references.json +10 -0
- fastplotpy/defaults/control.json +3 -0
- fastplotpy/defaults/crosshair.json +19 -0
- fastplotpy/defaults/error-bars.json +7 -0
- fastplotpy/defaults/heatmap.json +70 -0
- fastplotpy/defaults/interaction.json +3 -0
- fastplotpy/defaults/layout.json +32 -0
- fastplotpy/defaults/legend.json +24 -0
- fastplotpy/defaults/line-axes.json +28 -0
- fastplotpy/defaults/line3d.json +13 -0
- fastplotpy/defaults/markers.json +6 -0
- fastplotpy/defaults/mesh3d.json +13 -0
- fastplotpy/defaults/pan.json +7 -0
- fastplotpy/defaults/pie.json +27 -0
- fastplotpy/defaults/pie3d.json +7 -0
- fastplotpy/defaults/point-labels.json +13 -0
- fastplotpy/defaults/pointClick.json +6 -0
- fastplotpy/defaults/pointSelection.json +13 -0
- fastplotpy/defaults/polar.json +71 -0
- fastplotpy/defaults/polarRotate.json +5 -0
- fastplotpy/defaults/scatter3d.json +39 -0
- fastplotpy/defaults/scene3d.json +61 -0
- fastplotpy/defaults/surface.json +35 -0
- fastplotpy/defaults/tooltip.json +18 -0
- fastplotpy/defaults/trace-colors.json +10 -0
- fastplotpy/defaults/trace-options.json +24 -0
- fastplotpy/defaults/wonderplot.json +58 -0
- fastplotpy/defaults/zoom.json +12 -0
- fastplotpy/defaults.py +15 -0
- fastplotpy/error_bars.py +118 -0
- fastplotpy/exports.py +153 -0
- fastplotpy/families2d.py +896 -0
- fastplotpy/heatmap_labels.py +146 -0
- fastplotpy/interactions.py +243 -0
- fastplotpy/interactive.py +1922 -0
- fastplotpy/js_serialize.py +47 -0
- fastplotpy/lighting3d.py +113 -0
- fastplotpy/line3d_lod.py +138 -0
- fastplotpy/lod3d.py +105 -0
- fastplotpy/mesh3d_lod.py +107 -0
- fastplotpy/native.py +163 -0
- fastplotpy/overlays.py +561 -0
- fastplotpy/point_labels.py +86 -0
- fastplotpy/polar.py +445 -0
- fastplotpy/polygon_clip3d.py +148 -0
- fastplotpy/references.py +72 -0
- fastplotpy/rendering.py +65 -0
- fastplotpy/rust_scenes.py +314 -0
- fastplotpy/scene.py +1185 -0
- fastplotpy/scene3d.py +1215 -0
- fastplotpy/scene3d_accessibility.py +183 -0
- fastplotpy/scene3d_collection.py +158 -0
- fastplotpy/subplots.py +115 -0
- fastplotpy/surface_contours.py +122 -0
- fastplotpy/surface_lod.py +109 -0
- fastplotpy/svg3d.py +235 -0
- fastplotpy/trendline.py +236 -0
- fastplotpy/triangle_wireframe.py +51 -0
- fastplotpy/types.py +3027 -0
- fastplotpy-0.3.0a1.dist-info/METADATA +86 -0
- fastplotpy-0.3.0a1.dist-info/RECORD +78 -0
- fastplotpy-0.3.0a1.dist-info/WHEEL +5 -0
- fastplotpy-0.3.0a1.dist-info/licenses/LICENSE +21 -0
- fastplotpy-0.3.0a1.dist-info/top_level.txt +1 -0
fastplotpy/types.py
ADDED
|
@@ -0,0 +1,3027 @@
|
|
|
1
|
+
"""Typed Python counterparts of pinned fastPlotJs public option, data and state types.
|
|
2
|
+
|
|
3
|
+
Generated from index.ts, types/plot.ts and core/chart.ts at af21d276c1527e61f47338f45c35b77241e8241a.
|
|
4
|
+
DOM-only inputs map to Any at the Python/browser boundary; Date maps to datetime.
|
|
5
|
+
"""
|
|
6
|
+
from datetime import datetime
|
|
7
|
+
from typing import Any, Awaitable, Callable, Literal, Mapping, Never, NotRequired, Required, TypeAlias, TypedDict
|
|
8
|
+
|
|
9
|
+
class ChartBeforeRenderEvent(TypedDict, total=False):
|
|
10
|
+
type: Required["Literal[\"beforeRender\"]"]
|
|
11
|
+
size: Required["ChartSize"]
|
|
12
|
+
|
|
13
|
+
class ChartBeforeCamera3dChangeEvent(TypedDict, total=False):
|
|
14
|
+
type: Required["Literal[\"beforeCamera3dChange\"]"]
|
|
15
|
+
subplotId: Required["str"]
|
|
16
|
+
source: Required["ChartCamera3dSource"]
|
|
17
|
+
reason: Required["ChartCamera3dChangeReason"]
|
|
18
|
+
previous: Required["ChartCamera3dState"]
|
|
19
|
+
state: Required["ChartCamera3dState"]
|
|
20
|
+
defaultPrevented: Required["bool"]
|
|
21
|
+
|
|
22
|
+
class ChartBeforeZoomEvent(TypedDict, total=False):
|
|
23
|
+
type: Required["Literal[\"beforeZoom\"]"]
|
|
24
|
+
source: Required["ChartZoomSource"]
|
|
25
|
+
mode: Required["AxisInteractionMode"]
|
|
26
|
+
activeSubplotId: Required["str"]
|
|
27
|
+
viewportBefore: Required["AxisViewportState | None"]
|
|
28
|
+
viewportAfter: Required["AxisViewportState | None"]
|
|
29
|
+
patch: Required["AxisViewportPatch"]
|
|
30
|
+
pointer: NotRequired["ChartZoomPointer"]
|
|
31
|
+
selection: NotRequired["ChartZoomSelection"]
|
|
32
|
+
defaultPrevented: Required["bool"]
|
|
33
|
+
|
|
34
|
+
class ChartAppendDataOptions(TypedDict, total=False):
|
|
35
|
+
traceIndex: NotRequired["float | int"]
|
|
36
|
+
maxPoints: NotRequired["float | int"]
|
|
37
|
+
|
|
38
|
+
class ChartCrosshairLabelFormatterArgs(TypedDict, total=False):
|
|
39
|
+
activeSubplotId: Required["str"]
|
|
40
|
+
mode: Required["ChartCrosshairMode"]
|
|
41
|
+
snap: Required["ChartCrosshairSnap"]
|
|
42
|
+
xAxisId: Required["str"]
|
|
43
|
+
yAxisId: Required["str"]
|
|
44
|
+
xValue: Required["float | int"]
|
|
45
|
+
yValue: Required["float | int"]
|
|
46
|
+
xLabel: Required["str"]
|
|
47
|
+
yLabel: Required["str"]
|
|
48
|
+
defaultLabel: Required["str"]
|
|
49
|
+
|
|
50
|
+
class ChartCrosshairLabelOptions(TypedDict, total=False):
|
|
51
|
+
show: NotRequired["bool"]
|
|
52
|
+
formatter: NotRequired["ChartCrosshairLabelFormatter"]
|
|
53
|
+
font: NotRequired["str"]
|
|
54
|
+
lineHeight: NotRequired["float | int"]
|
|
55
|
+
color: NotRequired["str"]
|
|
56
|
+
backgroundColor: NotRequired["str"]
|
|
57
|
+
borderColor: NotRequired["str"]
|
|
58
|
+
borderWidth: NotRequired["float | int"]
|
|
59
|
+
padding: NotRequired["float | int"]
|
|
60
|
+
offset: NotRequired["float | int"]
|
|
61
|
+
|
|
62
|
+
class ChartCrosshairChangeEvent(TypedDict, total=False):
|
|
63
|
+
activeSubplotId: Required["str"]
|
|
64
|
+
mode: Required["ChartCrosshairMode"]
|
|
65
|
+
snap: Required["ChartCrosshairSnap"]
|
|
66
|
+
xAxisId: Required["str"]
|
|
67
|
+
yAxisId: Required["str"]
|
|
68
|
+
xValue: Required["float | int"]
|
|
69
|
+
yValue: Required["float | int"]
|
|
70
|
+
xLabel: Required["str"]
|
|
71
|
+
yLabel: Required["str"]
|
|
72
|
+
defaultLabel: Required["str"]
|
|
73
|
+
pointer: Required["ChartZoomPointer"]
|
|
74
|
+
type: Required["Literal[\"crosshairChange\"]"]
|
|
75
|
+
source: Required["ChartCrosshairSource"]
|
|
76
|
+
|
|
77
|
+
class ChartCrosshairClearEvent(TypedDict, total=False):
|
|
78
|
+
type: Required["Literal[\"crosshairClear\"]"]
|
|
79
|
+
source: Required["ChartCrosshairSource"]
|
|
80
|
+
previous: Required["ChartCrosshairState"]
|
|
81
|
+
|
|
82
|
+
class ChartCrosshairOptions(TypedDict, total=False):
|
|
83
|
+
enabled: NotRequired["bool"]
|
|
84
|
+
mode: NotRequired["ChartCrosshairMode"]
|
|
85
|
+
snap: NotRequired["ChartCrosshairSnap"]
|
|
86
|
+
style: NotRequired["ChartCrosshairStyleOptions"]
|
|
87
|
+
label: NotRequired["bool | ChartCrosshairLabelOptions"]
|
|
88
|
+
|
|
89
|
+
class ChartCrosshairPosition(TypedDict, total=False):
|
|
90
|
+
activeSubplotId: NotRequired["str"]
|
|
91
|
+
xAxisId: NotRequired["str"]
|
|
92
|
+
yAxisId: NotRequired["str"]
|
|
93
|
+
xValue: Required["ScalarInput"]
|
|
94
|
+
yValue: Required["ScalarInput"]
|
|
95
|
+
|
|
96
|
+
class ChartCrosshairState(TypedDict, total=False):
|
|
97
|
+
activeSubplotId: Required["str"]
|
|
98
|
+
mode: Required["ChartCrosshairMode"]
|
|
99
|
+
snap: Required["ChartCrosshairSnap"]
|
|
100
|
+
xAxisId: Required["str"]
|
|
101
|
+
yAxisId: Required["str"]
|
|
102
|
+
xValue: Required["float | int"]
|
|
103
|
+
yValue: Required["float | int"]
|
|
104
|
+
xLabel: Required["str"]
|
|
105
|
+
yLabel: Required["str"]
|
|
106
|
+
defaultLabel: Required["str"]
|
|
107
|
+
pointer: Required["ChartZoomPointer"]
|
|
108
|
+
|
|
109
|
+
class ChartCrosshairStyleOptions(TypedDict, total=False):
|
|
110
|
+
color: NotRequired["str"]
|
|
111
|
+
lineWidth: NotRequired["float | int"]
|
|
112
|
+
lineDash: NotRequired["list[float | int]"]
|
|
113
|
+
|
|
114
|
+
class ChartCrosshairUpdateOptions(TypedDict, total=False):
|
|
115
|
+
emit: NotRequired["bool"]
|
|
116
|
+
|
|
117
|
+
class ChartCamera3dChangeEvent(TypedDict, total=False):
|
|
118
|
+
type: Required["Literal[\"camera3dChange\"]"]
|
|
119
|
+
subplotId: Required["str"]
|
|
120
|
+
source: Required["ChartCamera3dSource"]
|
|
121
|
+
reason: Required["ChartCamera3dChangeReason"]
|
|
122
|
+
previous: Required["ChartCamera3dState"]
|
|
123
|
+
state: Required["ChartCamera3dState"]
|
|
124
|
+
scene: Required["Scene"]
|
|
125
|
+
|
|
126
|
+
class ChartCamera3dDollyOptions(TypedDict, total=False):
|
|
127
|
+
factor: Required["float | int"]
|
|
128
|
+
emit: NotRequired["bool"]
|
|
129
|
+
subplotId: NotRequired["str"]
|
|
130
|
+
|
|
131
|
+
class ChartCamera3dInteractionOptions(TypedDict, total=False):
|
|
132
|
+
orbit: NotRequired["bool"]
|
|
133
|
+
dolly: NotRequired["bool"]
|
|
134
|
+
pan: NotRequired["bool"]
|
|
135
|
+
touch: NotRequired["bool"]
|
|
136
|
+
keyboard: NotRequired["bool"]
|
|
137
|
+
mouseButton: NotRequired["float | int"]
|
|
138
|
+
panModifierKey: NotRequired["ChartModifierKey"]
|
|
139
|
+
preventDefault: NotRequired["bool"]
|
|
140
|
+
minDragDistance: NotRequired["float | int"]
|
|
141
|
+
orbitDegreesPerPixel: NotRequired["float | int"]
|
|
142
|
+
wheelDollySpeed: NotRequired["float | int"]
|
|
143
|
+
keyboardOrbitDegrees: NotRequired["float | int"]
|
|
144
|
+
keyboardDollyFactor: NotRequired["float | int"]
|
|
145
|
+
keyboardPanRatio: NotRequired["float | int"]
|
|
146
|
+
minDistance: NotRequired["float | int"]
|
|
147
|
+
maxDistance: NotRequired["float | int"]
|
|
148
|
+
minOrthographicScale: NotRequired["float | int"]
|
|
149
|
+
maxOrthographicScale: NotRequired["float | int"]
|
|
150
|
+
maxPitchDegrees: NotRequired["float | int"]
|
|
151
|
+
maxInteractivePoints: NotRequired["float | int"]
|
|
152
|
+
|
|
153
|
+
class ChartCamera3dOrbitOptions(TypedDict, total=False):
|
|
154
|
+
yawDegrees: NotRequired["float | int"]
|
|
155
|
+
pitchDegrees: NotRequired["float | int"]
|
|
156
|
+
emit: NotRequired["bool"]
|
|
157
|
+
subplotId: NotRequired["str"]
|
|
158
|
+
|
|
159
|
+
class ChartCamera3dPanOptions(TypedDict, total=False):
|
|
160
|
+
xRatio: NotRequired["float | int"]
|
|
161
|
+
yRatio: NotRequired["float | int"]
|
|
162
|
+
emit: NotRequired["bool"]
|
|
163
|
+
subplotId: NotRequired["str"]
|
|
164
|
+
|
|
165
|
+
class ChartCamera3dState(TypedDict, total=False):
|
|
166
|
+
projection: Required["Scene3dProjection"]
|
|
167
|
+
eye: Required["Vector3Tuple"]
|
|
168
|
+
target: Required["Vector3Tuple"]
|
|
169
|
+
up: Required["Vector3Tuple"]
|
|
170
|
+
fieldOfViewDegrees: Required["float | int"]
|
|
171
|
+
orthographicScale: Required["float | int"]
|
|
172
|
+
near: Required["float | int"]
|
|
173
|
+
far: Required["float | int"]
|
|
174
|
+
|
|
175
|
+
class ChartCamera3dUpdateOptions(TypedDict, total=False):
|
|
176
|
+
emit: NotRequired["bool"]
|
|
177
|
+
subplotId: NotRequired["str"]
|
|
178
|
+
|
|
179
|
+
class ChartDataState(TypedDict, total=False):
|
|
180
|
+
traceCount: Required["float | int"]
|
|
181
|
+
traceData: Required["list[list[DataPoint]]"]
|
|
182
|
+
|
|
183
|
+
class ChartDataStateUpdateOptions(TypedDict, total=False):
|
|
184
|
+
emit: NotRequired["bool"]
|
|
185
|
+
|
|
186
|
+
class ChartDataUpdateEvent(TypedDict, total=False):
|
|
187
|
+
type: Required["Literal[\"dataUpdate\"]"]
|
|
188
|
+
mode: Required["ChartDataUpdateMode"]
|
|
189
|
+
traceIndexes: Required["list[float | int]"]
|
|
190
|
+
previousPointCounts: Required["list[float | int]"]
|
|
191
|
+
pointCounts: Required["list[float | int]"]
|
|
192
|
+
state: NotRequired["ChartDataState"]
|
|
193
|
+
scene: Required["Scene"]
|
|
194
|
+
|
|
195
|
+
class ChartErrorEvent(TypedDict, total=False):
|
|
196
|
+
type: Required["Literal[\"error\"]"]
|
|
197
|
+
error: Required["Any"]
|
|
198
|
+
|
|
199
|
+
class ChartEventMap(TypedDict, total=False):
|
|
200
|
+
renderPhase: Required["ChartRenderPhaseEvent"]
|
|
201
|
+
renderStart: Required["ChartRenderStartEvent"]
|
|
202
|
+
renderEnd: Required["ChartRenderEndEvent"]
|
|
203
|
+
beforeRender: Required["ChartBeforeRenderEvent"]
|
|
204
|
+
render: Required["ChartRenderEvent"]
|
|
205
|
+
resizing: Required["ChartResizingEvent"]
|
|
206
|
+
resize: Required["ChartResizeEvent"]
|
|
207
|
+
error: Required["ChartErrorEvent"]
|
|
208
|
+
beforeZoom: Required["ChartBeforeZoomEvent"]
|
|
209
|
+
zoomStart: Required["ChartZoomStartEvent"]
|
|
210
|
+
zoom: Required["ChartZoomEvent"]
|
|
211
|
+
viewportChange: Required["ChartViewportChangeEvent"]
|
|
212
|
+
zoomEnd: Required["ChartZoomEndEvent"]
|
|
213
|
+
zoomCancel: Required["ChartZoomCancelEvent"]
|
|
214
|
+
dragModeChange: Required["ChartDragModeChangeEvent"]
|
|
215
|
+
polarRotationChange: Required["ChartPolarRotationChangeEvent"]
|
|
216
|
+
beforeCamera3dChange: Required["ChartBeforeCamera3dChangeEvent"]
|
|
217
|
+
camera3dChange: Required["ChartCamera3dChangeEvent"]
|
|
218
|
+
tooltip: Required["ChartTooltipEvent"]
|
|
219
|
+
tooltipClear: Required["ChartTooltipClearEvent"]
|
|
220
|
+
crosshairChange: Required["ChartCrosshairChangeEvent"]
|
|
221
|
+
crosshairClear: Required["ChartCrosshairClearEvent"]
|
|
222
|
+
pointClick: Required["ChartPointClickEvent"]
|
|
223
|
+
pointSelectionChange: Required["ChartPointSelectionChangeEvent"]
|
|
224
|
+
traceVisibility: Required["ChartTraceVisibilityEvent"]
|
|
225
|
+
dataUpdate: Required["ChartDataUpdateEvent"]
|
|
226
|
+
chartStateChange: Required["ChartStateChangeEvent"]
|
|
227
|
+
|
|
228
|
+
class ChartDragModeChangeEvent(TypedDict, total=False):
|
|
229
|
+
type: Required["Literal[\"dragModeChange\"]"]
|
|
230
|
+
previousMode: Required["ChartDragMode"]
|
|
231
|
+
mode: Required["ChartDragMode"]
|
|
232
|
+
|
|
233
|
+
class ChartInteractionOptions(TypedDict, total=False):
|
|
234
|
+
zoom: NotRequired["bool | ChartZoomOptions"]
|
|
235
|
+
pan: NotRequired["bool | ChartPanOptions"]
|
|
236
|
+
polarRotate: NotRequired["bool | ChartPolarRotateOptions"]
|
|
237
|
+
camera3d: NotRequired["bool | ChartCamera3dInteractionOptions"]
|
|
238
|
+
dragMode: NotRequired["ChartDragMode"]
|
|
239
|
+
tooltip: NotRequired["bool | ChartTooltipOptions"]
|
|
240
|
+
crosshair: NotRequired["bool | ChartCrosshairOptions"]
|
|
241
|
+
pointClick: NotRequired["bool | ChartPointClickOptions"]
|
|
242
|
+
pointSelection: NotRequired["bool | ChartPointSelectionOptions"]
|
|
243
|
+
|
|
244
|
+
class ChartTooltipClearEvent(TypedDict, total=False):
|
|
245
|
+
type: Required["Literal[\"tooltipClear\"]"]
|
|
246
|
+
source: NotRequired["ChartTooltipSource"]
|
|
247
|
+
activeSubplotId: NotRequired["str"]
|
|
248
|
+
pointer: NotRequired["ChartZoomPointer"]
|
|
249
|
+
previous: NotRequired["ChartTooltipState"]
|
|
250
|
+
|
|
251
|
+
class ChartTooltipEvent(TypedDict, total=False):
|
|
252
|
+
active: Required["Literal[True]"]
|
|
253
|
+
activeSubplotId: Required["str"]
|
|
254
|
+
pointer: Required["ChartZoomPointer"]
|
|
255
|
+
text: Required["str"]
|
|
256
|
+
style: Required["ChartTooltipStyle"]
|
|
257
|
+
values: Required["ChartTooltipFormatterArgs"]
|
|
258
|
+
type: Required["Literal[\"tooltip\"]"]
|
|
259
|
+
source: NotRequired["ChartTooltipSource"]
|
|
260
|
+
|
|
261
|
+
class ChartTooltipFormatterArgs(TypedDict, total=False):
|
|
262
|
+
subplotId: Required["str"]
|
|
263
|
+
traceIndex: Required["float | int"]
|
|
264
|
+
traceName: NotRequired["str"]
|
|
265
|
+
traceColor: NotRequired["str"]
|
|
266
|
+
pointIndex: Required["float | int"]
|
|
267
|
+
xAxisId: Required["str"]
|
|
268
|
+
yAxisId: Required["str"]
|
|
269
|
+
x: Required["ScalarInput"]
|
|
270
|
+
y: Required["ScalarInput"]
|
|
271
|
+
xValue: Required["float | int"]
|
|
272
|
+
yValue: Required["float | int"]
|
|
273
|
+
xCategory: NotRequired["str"]
|
|
274
|
+
yCategory: NotRequired["str"]
|
|
275
|
+
value: NotRequired["ScalarInput | None"]
|
|
276
|
+
z: NotRequired["ScalarInput | None"]
|
|
277
|
+
colorValue: NotRequired["float | int"]
|
|
278
|
+
renderedColor: NotRequired["str"]
|
|
279
|
+
size: NotRequired["float | int | None"]
|
|
280
|
+
sizeValue: NotRequired["float | int"]
|
|
281
|
+
radius: NotRequired["float | int"]
|
|
282
|
+
opacity: NotRequired["float | int | None"]
|
|
283
|
+
opacityValue: NotRequired["float | int"]
|
|
284
|
+
renderedOpacity: NotRequired["float | int"]
|
|
285
|
+
normalizedValue: NotRequired["float | int"]
|
|
286
|
+
baseline: NotRequired["float | int"]
|
|
287
|
+
depth: NotRequired["float | int"]
|
|
288
|
+
items: NotRequired["list[ChartTooltipItem]"]
|
|
289
|
+
|
|
290
|
+
class ChartTooltipItem(TypedDict, total=False):
|
|
291
|
+
subplotId: Required["str"]
|
|
292
|
+
traceIndex: Required["float | int"]
|
|
293
|
+
traceName: NotRequired["str"]
|
|
294
|
+
traceColor: NotRequired["str"]
|
|
295
|
+
pointIndex: Required["float | int"]
|
|
296
|
+
xAxisId: Required["str"]
|
|
297
|
+
yAxisId: Required["str"]
|
|
298
|
+
x: Required["ScalarInput"]
|
|
299
|
+
y: Required["ScalarInput"]
|
|
300
|
+
xValue: Required["float | int"]
|
|
301
|
+
yValue: Required["float | int"]
|
|
302
|
+
xCategory: NotRequired["str"]
|
|
303
|
+
yCategory: NotRequired["str"]
|
|
304
|
+
value: NotRequired["ScalarInput | None"]
|
|
305
|
+
z: NotRequired["ScalarInput | None"]
|
|
306
|
+
colorValue: NotRequired["float | int"]
|
|
307
|
+
renderedColor: NotRequired["str"]
|
|
308
|
+
size: NotRequired["float | int | None"]
|
|
309
|
+
sizeValue: NotRequired["float | int"]
|
|
310
|
+
radius: NotRequired["float | int"]
|
|
311
|
+
opacity: NotRequired["float | int | None"]
|
|
312
|
+
opacityValue: NotRequired["float | int"]
|
|
313
|
+
renderedOpacity: NotRequired["float | int"]
|
|
314
|
+
normalizedValue: NotRequired["float | int"]
|
|
315
|
+
baseline: NotRequired["float | int"]
|
|
316
|
+
depth: NotRequired["float | int"]
|
|
317
|
+
|
|
318
|
+
class ChartTooltipOptions(TypedDict, total=False):
|
|
319
|
+
enabled: NotRequired["bool"]
|
|
320
|
+
mode: NotRequired["ChartTooltipMode"]
|
|
321
|
+
lineMode: NotRequired["ChartTooltipLineMode"]
|
|
322
|
+
shared: NotRequired["bool"]
|
|
323
|
+
sharedXMode: NotRequired["ChartTooltipSharedXMode"]
|
|
324
|
+
radius: NotRequired["float | int"]
|
|
325
|
+
formatter: NotRequired["ChartTooltipFormatter"]
|
|
326
|
+
style: NotRequired["TooltipStyleOptions"]
|
|
327
|
+
textStyle: NotRequired["PlotTextStyleOptions"]
|
|
328
|
+
backgroundColor: NotRequired["str"]
|
|
329
|
+
borderColor: NotRequired["str"]
|
|
330
|
+
borderWidth: NotRequired["float | int"]
|
|
331
|
+
borderRadius: NotRequired["float | int"]
|
|
332
|
+
padding: NotRequired["float | int"]
|
|
333
|
+
|
|
334
|
+
class ChartTooltipState(TypedDict, total=False):
|
|
335
|
+
active: Required["Literal[True]"]
|
|
336
|
+
activeSubplotId: Required["str"]
|
|
337
|
+
pointer: Required["ChartZoomPointer"]
|
|
338
|
+
text: Required["str"]
|
|
339
|
+
style: Required["ChartTooltipStyle"]
|
|
340
|
+
values: Required["ChartTooltipFormatterArgs"]
|
|
341
|
+
|
|
342
|
+
class ChartTooltipStyle(TypedDict, total=False):
|
|
343
|
+
text: Required["ResolvedPlotTextStyle"]
|
|
344
|
+
backgroundColor: Required["str"]
|
|
345
|
+
borderColor: Required["str"]
|
|
346
|
+
borderWidth: Required["float | int"]
|
|
347
|
+
borderRadius: Required["float | int"]
|
|
348
|
+
padding: Required["float | int"]
|
|
349
|
+
|
|
350
|
+
class ChartTooltipTarget(TypedDict, total=False):
|
|
351
|
+
subplotId: NotRequired["str"]
|
|
352
|
+
traceIndex: Required["float | int"]
|
|
353
|
+
pointIndex: Required["float | int"]
|
|
354
|
+
|
|
355
|
+
class ChartTooltipUpdateOptions(TypedDict, total=False):
|
|
356
|
+
emit: NotRequired["bool"]
|
|
357
|
+
|
|
358
|
+
class ChartTraceVisibilityEvent(TypedDict, total=False):
|
|
359
|
+
traceCount: Required["float | int"]
|
|
360
|
+
visibleTraceIndexes: Required["list[float | int]"]
|
|
361
|
+
hiddenTraceIndexes: Required["list[float | int]"]
|
|
362
|
+
type: Required["Literal[\"traceVisibility\"]"]
|
|
363
|
+
source: Required["ChartTraceVisibilitySource"]
|
|
364
|
+
changedTraceIndexes: Required["list[float | int]"]
|
|
365
|
+
scene: Required["Scene"]
|
|
366
|
+
|
|
367
|
+
class ChartTraceVisibilityState(TypedDict, total=False):
|
|
368
|
+
traceCount: Required["float | int"]
|
|
369
|
+
visibleTraceIndexes: Required["list[float | int]"]
|
|
370
|
+
hiddenTraceIndexes: Required["list[float | int]"]
|
|
371
|
+
|
|
372
|
+
class ChartTraceVisibilityUpdateOptions(TypedDict, total=False):
|
|
373
|
+
emit: NotRequired["bool"]
|
|
374
|
+
|
|
375
|
+
class ChartOptions(TypedDict, total=False):
|
|
376
|
+
data: NotRequired["list[DataPoint]"]
|
|
377
|
+
traces: NotRequired["list[TraceInput]"]
|
|
378
|
+
type: Required["Literal[\"line\", \"bar\", \"polar\", \"heatmap\", \"wonderplot\", \"pie\", \"pie3d\", \"scatter3d\", \"line3d\", \"surface\", \"mesh3d\"]"]
|
|
379
|
+
canvas: NotRequired["CanvasQualityOptions"]
|
|
380
|
+
style: NotRequired["PlotStyleOptions"]
|
|
381
|
+
title: NotRequired["str"]
|
|
382
|
+
subtitle: NotRequired["str"]
|
|
383
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
384
|
+
subtitleStyle: NotRequired["PlotTextStyleOptions"]
|
|
385
|
+
backgroundColor: NotRequired["str"]
|
|
386
|
+
plotAreaBackgroundColor: NotRequired["str"]
|
|
387
|
+
engine: NotRequired["PlotEngineMode"]
|
|
388
|
+
lineStyle: NotRequired["TraceLineStyleOptions"]
|
|
389
|
+
areaFill: NotRequired["LineAreaFillOptions | bool"]
|
|
390
|
+
markers: NotRequired["MarkerOptions | bool"]
|
|
391
|
+
pointLabels: NotRequired["LinePointLabelOptions | bool"]
|
|
392
|
+
errorBars: NotRequired["CartesianErrorBarOptions | bool"]
|
|
393
|
+
bar: NotRequired["BarOptions"]
|
|
394
|
+
polar: NotRequired["PolarOptions"]
|
|
395
|
+
pie: NotRequired["PieOptions"]
|
|
396
|
+
pie3d: NotRequired["Pie3dOptions"]
|
|
397
|
+
heatmap: NotRequired["HeatmapOptions"]
|
|
398
|
+
wonderplot: NotRequired["WonderplotOptions"]
|
|
399
|
+
scene3d: NotRequired["Scene3dOptions"]
|
|
400
|
+
scatter3d: NotRequired["Scatter3dOptions"]
|
|
401
|
+
line3d: NotRequired["Line3dOptions"]
|
|
402
|
+
surface: NotRequired["SurfaceOptions"]
|
|
403
|
+
mesh3d: NotRequired["Mesh3dOptions"]
|
|
404
|
+
references: NotRequired["CartesianReferenceOptions"]
|
|
405
|
+
trendline: NotRequired["TraceTrendlineOptions | bool"]
|
|
406
|
+
connectGaps: NotRequired["bool"]
|
|
407
|
+
axes: NotRequired["LineAxesOptions"]
|
|
408
|
+
subplots: NotRequired["SubplotsOptions"]
|
|
409
|
+
viewport: NotRequired["AxisViewportState"]
|
|
410
|
+
margin: NotRequired["MarginOptions"]
|
|
411
|
+
legend: NotRequired["LegendOptions | bool"]
|
|
412
|
+
width: NotRequired["float | int"]
|
|
413
|
+
height: NotRequired["float | int"]
|
|
414
|
+
responsive: NotRequired["bool"]
|
|
415
|
+
progressiveRender: NotRequired["bool"]
|
|
416
|
+
resizeTarget: NotRequired["Any"]
|
|
417
|
+
interactions: NotRequired["ChartInteractionOptions"]
|
|
418
|
+
onRenderStart: NotRequired["ChartEventHandler"]
|
|
419
|
+
onRenderPhase: NotRequired["ChartEventHandler"]
|
|
420
|
+
onRenderEnd: NotRequired["ChartEventHandler"]
|
|
421
|
+
onBeforeRender: NotRequired["ChartEventHandler"]
|
|
422
|
+
onRender: NotRequired["ChartEventHandler"]
|
|
423
|
+
onResizing: NotRequired["ChartEventHandler"]
|
|
424
|
+
onResize: NotRequired["ChartEventHandler"]
|
|
425
|
+
onError: NotRequired["ChartEventHandler"]
|
|
426
|
+
onBeforeZoom: NotRequired["ChartEventHandler"]
|
|
427
|
+
onZoomStart: NotRequired["ChartEventHandler"]
|
|
428
|
+
onZoom: NotRequired["ChartEventHandler"]
|
|
429
|
+
onViewportChange: NotRequired["ChartEventHandler"]
|
|
430
|
+
onZoomEnd: NotRequired["ChartEventHandler"]
|
|
431
|
+
onZoomCancel: NotRequired["ChartEventHandler"]
|
|
432
|
+
onDragModeChange: NotRequired["ChartEventHandler"]
|
|
433
|
+
onPolarRotationChange: NotRequired["ChartEventHandler"]
|
|
434
|
+
onBeforeCamera3dChange: NotRequired["ChartEventHandler"]
|
|
435
|
+
onCamera3dChange: NotRequired["ChartEventHandler"]
|
|
436
|
+
onTooltip: NotRequired["ChartEventHandler"]
|
|
437
|
+
onTooltipClear: NotRequired["ChartEventHandler"]
|
|
438
|
+
onCrosshairChange: NotRequired["ChartEventHandler"]
|
|
439
|
+
onCrosshairClear: NotRequired["ChartEventHandler"]
|
|
440
|
+
onPointClick: NotRequired["ChartEventHandler"]
|
|
441
|
+
onPointSelectionChange: NotRequired["ChartEventHandler"]
|
|
442
|
+
onTraceVisibility: NotRequired["ChartEventHandler"]
|
|
443
|
+
onDataUpdate: NotRequired["ChartEventHandler"]
|
|
444
|
+
onChartStateChange: NotRequired["ChartEventHandler"]
|
|
445
|
+
|
|
446
|
+
class ChartPanOptions(TypedDict, total=False):
|
|
447
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
448
|
+
mouseButton: NotRequired["float | int"]
|
|
449
|
+
modifierKey: NotRequired["ChartModifierKey"]
|
|
450
|
+
preventDefault: NotRequired["bool"]
|
|
451
|
+
minDragDistance: NotRequired["float | int"]
|
|
452
|
+
|
|
453
|
+
class ChartPointClickEvent(TypedDict, total=False):
|
|
454
|
+
type: Required["Literal[\"pointClick\"]"]
|
|
455
|
+
activeSubplotId: Required["str"]
|
|
456
|
+
pointer: Required["ChartZoomPointer"]
|
|
457
|
+
values: Required["ChartTooltipItem"]
|
|
458
|
+
|
|
459
|
+
class ChartPointClickOptions(TypedDict, total=False):
|
|
460
|
+
enabled: NotRequired["bool"]
|
|
461
|
+
mouseButton: NotRequired["float | int"]
|
|
462
|
+
maxMovement: NotRequired["float | int"]
|
|
463
|
+
radius: NotRequired["float | int"]
|
|
464
|
+
|
|
465
|
+
class ChartPointSelection(TypedDict, total=False):
|
|
466
|
+
traceIndex: Required["float | int"]
|
|
467
|
+
pointIndex: Required["float | int"]
|
|
468
|
+
|
|
469
|
+
class ChartPointSelectionChangeEvent(TypedDict, total=False):
|
|
470
|
+
type: Required["Literal[\"pointSelectionChange\"]"]
|
|
471
|
+
source: Required["ChartPointSelectionSource"]
|
|
472
|
+
previous: Required["ChartPointSelectionState"]
|
|
473
|
+
state: Required["ChartPointSelectionState"]
|
|
474
|
+
scene: Required["Scene"]
|
|
475
|
+
|
|
476
|
+
class ChartPointSelectionOptions(TypedDict, total=False):
|
|
477
|
+
enabled: NotRequired["bool"]
|
|
478
|
+
mode: NotRequired["ChartPointSelectionMode"]
|
|
479
|
+
keyboard: NotRequired["bool"]
|
|
480
|
+
mouseButton: NotRequired["float | int"]
|
|
481
|
+
maxMovement: NotRequired["float | int"]
|
|
482
|
+
radius: NotRequired["float | int"]
|
|
483
|
+
strokeColor: NotRequired["str"]
|
|
484
|
+
fillColor: NotRequired["str"]
|
|
485
|
+
lineWidth: NotRequired["float | int"]
|
|
486
|
+
padding: NotRequired["float | int"]
|
|
487
|
+
|
|
488
|
+
class ChartPointSelectionState(TypedDict, total=False):
|
|
489
|
+
traceCount: Required["float | int"]
|
|
490
|
+
selection: Required["ChartPointSelection | None"]
|
|
491
|
+
selections: NotRequired["list[ChartPointSelection]"]
|
|
492
|
+
|
|
493
|
+
class ChartPointSelectionUpdateOptions(TypedDict, total=False):
|
|
494
|
+
emit: NotRequired["bool"]
|
|
495
|
+
|
|
496
|
+
class ChartPolarRotateOptions(TypedDict, total=False):
|
|
497
|
+
mouseButton: NotRequired["float | int"]
|
|
498
|
+
preventDefault: NotRequired["bool"]
|
|
499
|
+
minDragDistance: NotRequired["float | int"]
|
|
500
|
+
|
|
501
|
+
class ChartPolarRotationChangeEvent(TypedDict, total=False):
|
|
502
|
+
type: Required["Literal[\"polarRotationChange\"]"]
|
|
503
|
+
source: Required["ChartPolarRotationSource"]
|
|
504
|
+
previous: Required["ChartPolarRotationState"]
|
|
505
|
+
state: Required["ChartPolarRotationState"]
|
|
506
|
+
|
|
507
|
+
class ChartPolarRotationState(TypedDict, total=False):
|
|
508
|
+
startAngleDegrees: Required["float | int"]
|
|
509
|
+
|
|
510
|
+
class ChartPolarRotationUpdateOptions(TypedDict, total=False):
|
|
511
|
+
emit: NotRequired["bool"]
|
|
512
|
+
|
|
513
|
+
class ChartProgrammaticPanOptions(TypedDict, total=False):
|
|
514
|
+
subplotId: NotRequired["str"]
|
|
515
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
516
|
+
xAxes: NotRequired["list[str]"]
|
|
517
|
+
yAxes: NotRequired["list[str]"]
|
|
518
|
+
emit: NotRequired["bool"]
|
|
519
|
+
xRatio: NotRequired["float | int"]
|
|
520
|
+
yRatio: NotRequired["float | int"]
|
|
521
|
+
|
|
522
|
+
class ChartRenderEndEvent(TypedDict, total=False):
|
|
523
|
+
type: Required["Literal[\"renderEnd\"]"]
|
|
524
|
+
size: Required["ChartSize"]
|
|
525
|
+
scene: Required["Scene"]
|
|
526
|
+
|
|
527
|
+
class ChartRenderPhaseEvent(TypedDict, total=False):
|
|
528
|
+
type: Required["Literal[\"renderPhase\"]"]
|
|
529
|
+
phase: Required["ChartRenderPhase"]
|
|
530
|
+
size: Required["ChartSize"]
|
|
531
|
+
scene: Required["Scene"]
|
|
532
|
+
|
|
533
|
+
class ChartRenderStartEvent(TypedDict, total=False):
|
|
534
|
+
type: Required["Literal[\"renderStart\"]"]
|
|
535
|
+
size: Required["ChartSize"]
|
|
536
|
+
|
|
537
|
+
class ChartRenderEvent(TypedDict, total=False):
|
|
538
|
+
type: Required["Literal[\"render\"]"]
|
|
539
|
+
size: Required["ChartSize"]
|
|
540
|
+
scene: Required["Scene"]
|
|
541
|
+
|
|
542
|
+
class ChartResizeEvent(TypedDict, total=False):
|
|
543
|
+
type: Required["Literal[\"resize\"]"]
|
|
544
|
+
previousSize: Required["ChartSize"]
|
|
545
|
+
size: Required["ChartSize"]
|
|
546
|
+
scene: Required["Scene"]
|
|
547
|
+
|
|
548
|
+
class ChartResizingEvent(TypedDict, total=False):
|
|
549
|
+
type: Required["Literal[\"resizing\"]"]
|
|
550
|
+
previousSize: Required["ChartSize"]
|
|
551
|
+
size: Required["ChartSize"]
|
|
552
|
+
|
|
553
|
+
class ChartProgrammaticZoomOptions(TypedDict, total=False):
|
|
554
|
+
subplotId: NotRequired["str"]
|
|
555
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
556
|
+
xAxes: NotRequired["list[str]"]
|
|
557
|
+
yAxes: NotRequired["list[str]"]
|
|
558
|
+
emit: NotRequired["bool"]
|
|
559
|
+
factor: NotRequired["float | int"]
|
|
560
|
+
xRatio: NotRequired["float | int"]
|
|
561
|
+
yRatio: NotRequired["float | int"]
|
|
562
|
+
|
|
563
|
+
class ChartSize(TypedDict, total=False):
|
|
564
|
+
width: Required["float | int"]
|
|
565
|
+
height: Required["float | int"]
|
|
566
|
+
|
|
567
|
+
class ChartState(TypedDict, total=False):
|
|
568
|
+
chartType: Required["Literal[\"line\", \"bar\", \"polar\", \"heatmap\", \"wonderplot\", \"pie\", \"pie3d\", \"scatter3d\", \"line3d\", \"surface\", \"mesh3d\"]"]
|
|
569
|
+
data: Required["ChartDataState"]
|
|
570
|
+
viewport: Required["AxisViewportState | None"]
|
|
571
|
+
traceVisibility: Required["ChartTraceVisibilityState"]
|
|
572
|
+
polarRotation: Required["ChartPolarRotationState | None"]
|
|
573
|
+
camera3d: NotRequired["ChartCamera3dState | None"]
|
|
574
|
+
cameras3d: NotRequired["dict[str, ChartCamera3dState] | None"]
|
|
575
|
+
dragMode: Required["ChartDragMode"]
|
|
576
|
+
pointSelection: NotRequired["ChartPointSelectionState | None"]
|
|
577
|
+
|
|
578
|
+
class ChartStateChangeEvent(TypedDict, total=False):
|
|
579
|
+
type: Required["Literal[\"chartStateChange\"]"]
|
|
580
|
+
previous: Required["ChartState"]
|
|
581
|
+
state: Required["ChartState"]
|
|
582
|
+
scene: Required["Scene"]
|
|
583
|
+
|
|
584
|
+
class ChartStateUpdateOptions(TypedDict, total=False):
|
|
585
|
+
emit: NotRequired["bool"]
|
|
586
|
+
|
|
587
|
+
class ChartViewportUpdateOptions(TypedDict, total=False):
|
|
588
|
+
activeSubplotId: NotRequired["str"]
|
|
589
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
590
|
+
emit: NotRequired["bool"]
|
|
591
|
+
|
|
592
|
+
class ChartViewportScopeOptions(TypedDict, total=False):
|
|
593
|
+
subplotId: NotRequired["str"]
|
|
594
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
595
|
+
xAxes: NotRequired["list[str]"]
|
|
596
|
+
yAxes: NotRequired["list[str]"]
|
|
597
|
+
emit: NotRequired["bool"]
|
|
598
|
+
|
|
599
|
+
class ChartViewportChangeEvent(TypedDict, total=False):
|
|
600
|
+
type: Required["Literal[\"viewportChange\"]"]
|
|
601
|
+
source: Required["ChartZoomSource"]
|
|
602
|
+
mode: Required["AxisInteractionMode"]
|
|
603
|
+
activeSubplotId: Required["str"]
|
|
604
|
+
viewportBefore: Required["AxisViewportState | None"]
|
|
605
|
+
viewportAfter: Required["AxisViewportState | None"]
|
|
606
|
+
patch: Required["AxisViewportPatch"]
|
|
607
|
+
scene: Required["Scene"]
|
|
608
|
+
pointer: NotRequired["ChartZoomPointer"]
|
|
609
|
+
selection: NotRequired["ChartZoomSelection"]
|
|
610
|
+
|
|
611
|
+
class ChartViewportControlState(TypedDict, total=False):
|
|
612
|
+
canZoomIn: Required["bool"]
|
|
613
|
+
canZoomOut: Required["bool"]
|
|
614
|
+
canPanLeft: Required["bool"]
|
|
615
|
+
canPanRight: Required["bool"]
|
|
616
|
+
canPanUp: Required["bool"]
|
|
617
|
+
canPanDown: Required["bool"]
|
|
618
|
+
canResetZoom: Required["bool"]
|
|
619
|
+
canAutoscale: Required["bool"]
|
|
620
|
+
|
|
621
|
+
class ChartViewportControlStateOptions(TypedDict, total=False):
|
|
622
|
+
zoom: NotRequired["ChartProgrammaticZoomOptions"]
|
|
623
|
+
pan: NotRequired["ChartProgrammaticPanOptions"]
|
|
624
|
+
reset: NotRequired["ChartViewportScopeOptions"]
|
|
625
|
+
autoscale: NotRequired["ChartViewportScopeOptions"]
|
|
626
|
+
panStepRatio: NotRequired["float | int"]
|
|
627
|
+
|
|
628
|
+
class ChartZoomCancelEvent(TypedDict, total=False):
|
|
629
|
+
type: Required["Literal[\"zoomCancel\"]"]
|
|
630
|
+
source: Required["ChartZoomSource"]
|
|
631
|
+
mode: Required["AxisInteractionMode"]
|
|
632
|
+
activeSubplotId: NotRequired["str"]
|
|
633
|
+
reason: Required["ChartZoomCancelReason"]
|
|
634
|
+
viewportBefore: Required["AxisViewportState | None"]
|
|
635
|
+
pointer: NotRequired["ChartZoomPointer"]
|
|
636
|
+
selection: NotRequired["ChartZoomSelection"]
|
|
637
|
+
|
|
638
|
+
class ChartZoomEndEvent(TypedDict, total=False):
|
|
639
|
+
type: Required["Literal[\"zoomEnd\"]"]
|
|
640
|
+
source: Required["ChartZoomSource"]
|
|
641
|
+
mode: Required["AxisInteractionMode"]
|
|
642
|
+
activeSubplotId: Required["str"]
|
|
643
|
+
viewportBefore: Required["AxisViewportState | None"]
|
|
644
|
+
viewportAfter: Required["AxisViewportState | None"]
|
|
645
|
+
pointer: NotRequired["ChartZoomPointer"]
|
|
646
|
+
selection: NotRequired["ChartZoomSelection"]
|
|
647
|
+
|
|
648
|
+
class ChartZoomEvent(TypedDict, total=False):
|
|
649
|
+
type: Required["Literal[\"zoom\"]"]
|
|
650
|
+
source: Required["ChartZoomSource"]
|
|
651
|
+
mode: Required["AxisInteractionMode"]
|
|
652
|
+
activeSubplotId: Required["str"]
|
|
653
|
+
viewportBefore: Required["AxisViewportState | None"]
|
|
654
|
+
viewportAfter: Required["AxisViewportState | None"]
|
|
655
|
+
patch: Required["AxisViewportPatch"]
|
|
656
|
+
scene: Required["Scene"]
|
|
657
|
+
pointer: NotRequired["ChartZoomPointer"]
|
|
658
|
+
selection: NotRequired["ChartZoomSelection"]
|
|
659
|
+
|
|
660
|
+
class ChartZoomOptions(TypedDict, total=False):
|
|
661
|
+
wheel: NotRequired["bool"]
|
|
662
|
+
drag: NotRequired["bool"]
|
|
663
|
+
pinch: NotRequired["bool"]
|
|
664
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
665
|
+
factor: NotRequired["float | int"]
|
|
666
|
+
preventDefault: NotRequired["bool"]
|
|
667
|
+
minDragDistance: NotRequired["float | int"]
|
|
668
|
+
|
|
669
|
+
class ChartZoomPointer(TypedDict, total=False):
|
|
670
|
+
x: Required["float | int"]
|
|
671
|
+
y: Required["float | int"]
|
|
672
|
+
|
|
673
|
+
class ChartZoomSelection(TypedDict, total=False):
|
|
674
|
+
start: Required["ChartZoomPointer"]
|
|
675
|
+
end: Required["ChartZoomPointer"]
|
|
676
|
+
|
|
677
|
+
class AxisPaddingPercent(TypedDict, total=False):
|
|
678
|
+
start: NotRequired["float | int"]
|
|
679
|
+
end: NotRequired["float | int"]
|
|
680
|
+
|
|
681
|
+
class AxisLabelFormatterArgs(TypedDict, total=False):
|
|
682
|
+
value: Required["float | int"]
|
|
683
|
+
defaultLabel: Required["str"]
|
|
684
|
+
axisId: Required["str"]
|
|
685
|
+
dimension: Required["Literal[\"x\", \"y\"]"]
|
|
686
|
+
scale: Required["Literal[\"linear\", \"logarithmic\", \"datetime\"]"]
|
|
687
|
+
isMajor: Required["bool"]
|
|
688
|
+
isMinor: Required["bool"]
|
|
689
|
+
|
|
690
|
+
class AxisLabelStyleOptions(TypedDict, total=False):
|
|
691
|
+
font: NotRequired["str"]
|
|
692
|
+
color: NotRequired["str"]
|
|
693
|
+
lineHeight: NotRequired["float | int"]
|
|
694
|
+
|
|
695
|
+
class AxisStrokeStyleOptions(TypedDict, total=False):
|
|
696
|
+
color: NotRequired["str"]
|
|
697
|
+
lineWidth: NotRequired["float | int"]
|
|
698
|
+
|
|
699
|
+
class AxisViewportRange(TypedDict, total=False):
|
|
700
|
+
min: Required["ScalarInput"]
|
|
701
|
+
max: Required["ScalarInput"]
|
|
702
|
+
|
|
703
|
+
class AxisViewportState(TypedDict, total=False):
|
|
704
|
+
xAxes: NotRequired["dict[str, AxisViewportRange]"]
|
|
705
|
+
yAxes: NotRequired["dict[str, AxisViewportRange]"]
|
|
706
|
+
|
|
707
|
+
class BarOptions(TypedDict, total=False):
|
|
708
|
+
borderColor: NotRequired["str"]
|
|
709
|
+
borderWidth: NotRequired["float | int"]
|
|
710
|
+
cornerRadius: NotRequired["float | int"]
|
|
711
|
+
valueLabels: NotRequired["BarValueLabelOptions | bool"]
|
|
712
|
+
mode: NotRequired["BarMode"]
|
|
713
|
+
orientation: NotRequired["BarOrientation"]
|
|
714
|
+
barWidthRatio: NotRequired["float | int"]
|
|
715
|
+
|
|
716
|
+
class BarTraceOptions(TypedDict, total=False):
|
|
717
|
+
borderColor: NotRequired["str"]
|
|
718
|
+
borderWidth: NotRequired["float | int"]
|
|
719
|
+
cornerRadius: NotRequired["float | int"]
|
|
720
|
+
valueLabels: NotRequired["BarValueLabelOptions | bool"]
|
|
721
|
+
|
|
722
|
+
class BarRect(TypedDict, total=False):
|
|
723
|
+
x: Required["float | int"]
|
|
724
|
+
y: Required["float | int"]
|
|
725
|
+
width: Required["float | int"]
|
|
726
|
+
height: Required["float | int"]
|
|
727
|
+
value: Required["float | int"]
|
|
728
|
+
baseline: Required["float | int"]
|
|
729
|
+
cornerRadius: NotRequired["float | int"]
|
|
730
|
+
normalizedValue: NotRequired["float | int"]
|
|
731
|
+
sourceIndex: NotRequired["float | int"]
|
|
732
|
+
|
|
733
|
+
class BarValueLabel(TypedDict, total=False):
|
|
734
|
+
x: Required["float | int"]
|
|
735
|
+
y: Required["float | int"]
|
|
736
|
+
value: Required["float | int"]
|
|
737
|
+
text: Required["str"]
|
|
738
|
+
color: Required["str"]
|
|
739
|
+
font: Required["str"]
|
|
740
|
+
position: NotRequired["BarValueLabelPosition"]
|
|
741
|
+
textAlign: NotRequired["Literal[\"left\", \"center\", \"right\"]"]
|
|
742
|
+
textBaseline: NotRequired["Literal[\"top\", \"middle\", \"bottom\"]"]
|
|
743
|
+
sourceIndex: NotRequired["float | int"]
|
|
744
|
+
|
|
745
|
+
class BarValueLabelFormatterArgs(TypedDict, total=False):
|
|
746
|
+
value: Required["float | int"]
|
|
747
|
+
defaultLabel: Required["str"]
|
|
748
|
+
baseline: Required["float | int"]
|
|
749
|
+
normalizedValue: NotRequired["float | int"]
|
|
750
|
+
orientation: Required["BarOrientation"]
|
|
751
|
+
mode: Required["BarMode"]
|
|
752
|
+
traceIndex: Required["float | int"]
|
|
753
|
+
sourceIndex: Required["float | int"]
|
|
754
|
+
|
|
755
|
+
class BarValueLabelOptions(TypedDict, total=False):
|
|
756
|
+
show: NotRequired["bool"]
|
|
757
|
+
color: NotRequired["str"]
|
|
758
|
+
font: NotRequired["str"]
|
|
759
|
+
position: NotRequired["BarValueLabelPosition"]
|
|
760
|
+
offset: NotRequired["float | int"]
|
|
761
|
+
decimals: NotRequired["float | int"]
|
|
762
|
+
prefix: NotRequired["str"]
|
|
763
|
+
suffix: NotRequired["str"]
|
|
764
|
+
minBarWidth: NotRequired["float | int"]
|
|
765
|
+
minBarHeight: NotRequired["float | int"]
|
|
766
|
+
formatter: NotRequired["BarValueLabelFormatter"]
|
|
767
|
+
|
|
768
|
+
class CanvasRenderOptions(TypedDict, total=False):
|
|
769
|
+
color: NotRequired["str"]
|
|
770
|
+
lineWidth: NotRequired["float | int"]
|
|
771
|
+
|
|
772
|
+
class CanvasQualityOptions(TypedDict, total=False):
|
|
773
|
+
pixelRatio: NotRequired["float | int | Literal[\"auto\"]"]
|
|
774
|
+
resolutionScale: NotRequired["float | int"]
|
|
775
|
+
|
|
776
|
+
class CanvasPlotOptions(TypedDict, total=False):
|
|
777
|
+
data: NotRequired["list[DataPoint]"]
|
|
778
|
+
traces: NotRequired["list[TraceInput]"]
|
|
779
|
+
type: Required["Literal[\"line\", \"bar\", \"polar\", \"heatmap\", \"wonderplot\", \"pie\", \"pie3d\", \"scatter3d\", \"line3d\", \"surface\", \"mesh3d\"]"]
|
|
780
|
+
canvas: NotRequired["CanvasQualityOptions"]
|
|
781
|
+
style: NotRequired["PlotStyleOptions"]
|
|
782
|
+
title: NotRequired["str"]
|
|
783
|
+
subtitle: NotRequired["str"]
|
|
784
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
785
|
+
subtitleStyle: NotRequired["PlotTextStyleOptions"]
|
|
786
|
+
backgroundColor: NotRequired["str"]
|
|
787
|
+
plotAreaBackgroundColor: NotRequired["str"]
|
|
788
|
+
engine: NotRequired["PlotEngineMode"]
|
|
789
|
+
lineStyle: NotRequired["TraceLineStyleOptions"]
|
|
790
|
+
areaFill: NotRequired["LineAreaFillOptions | bool"]
|
|
791
|
+
markers: NotRequired["MarkerOptions | bool"]
|
|
792
|
+
pointLabels: NotRequired["LinePointLabelOptions | bool"]
|
|
793
|
+
errorBars: NotRequired["CartesianErrorBarOptions | bool"]
|
|
794
|
+
bar: NotRequired["BarOptions"]
|
|
795
|
+
polar: NotRequired["PolarOptions"]
|
|
796
|
+
pie: NotRequired["PieOptions"]
|
|
797
|
+
pie3d: NotRequired["Pie3dOptions"]
|
|
798
|
+
heatmap: NotRequired["HeatmapOptions"]
|
|
799
|
+
wonderplot: NotRequired["WonderplotOptions"]
|
|
800
|
+
scene3d: NotRequired["Scene3dOptions"]
|
|
801
|
+
scatter3d: NotRequired["Scatter3dOptions"]
|
|
802
|
+
line3d: NotRequired["Line3dOptions"]
|
|
803
|
+
surface: NotRequired["SurfaceOptions"]
|
|
804
|
+
mesh3d: NotRequired["Mesh3dOptions"]
|
|
805
|
+
references: NotRequired["CartesianReferenceOptions"]
|
|
806
|
+
trendline: NotRequired["TraceTrendlineOptions | bool"]
|
|
807
|
+
connectGaps: NotRequired["bool"]
|
|
808
|
+
axes: NotRequired["LineAxesOptions"]
|
|
809
|
+
subplots: NotRequired["SubplotsOptions"]
|
|
810
|
+
viewport: NotRequired["AxisViewportState"]
|
|
811
|
+
margin: NotRequired["MarginOptions"]
|
|
812
|
+
legend: NotRequired["LegendOptions | bool"]
|
|
813
|
+
width: NotRequired["float | int"]
|
|
814
|
+
height: NotRequired["float | int"]
|
|
815
|
+
|
|
816
|
+
CartesianReferenceBandOptions = TypedDict("CartesianReferenceBandOptions", {"axis": Required["Literal[\"x\", \"y\"]"], "from": Required["ScalarInput"], "to": Required["ScalarInput"], "axisId": NotRequired["str"], "subplot": NotRequired["str"], "fillColor": NotRequired["str"], "label": NotRequired["str"], "labelStyle": NotRequired["PlotTextStyleOptions"]})
|
|
817
|
+
|
|
818
|
+
class CartesianReferenceLineOptions(TypedDict, total=False):
|
|
819
|
+
axis: Required["Literal[\"x\", \"y\"]"]
|
|
820
|
+
value: Required["ScalarInput"]
|
|
821
|
+
axisId: NotRequired["str"]
|
|
822
|
+
subplot: NotRequired["str"]
|
|
823
|
+
color: NotRequired["str"]
|
|
824
|
+
lineWidth: NotRequired["float | int"]
|
|
825
|
+
pattern: NotRequired["LinePattern"]
|
|
826
|
+
label: NotRequired["str"]
|
|
827
|
+
labelStyle: NotRequired["PlotTextStyleOptions"]
|
|
828
|
+
|
|
829
|
+
class CartesianReferenceOptions(TypedDict, total=False):
|
|
830
|
+
lines: NotRequired["list[CartesianReferenceLineOptions]"]
|
|
831
|
+
bands: NotRequired["list[CartesianReferenceBandOptions]"]
|
|
832
|
+
|
|
833
|
+
class ColorScaleStop(TypedDict, total=False):
|
|
834
|
+
offset: Required["float | int"]
|
|
835
|
+
color: Required["str"]
|
|
836
|
+
|
|
837
|
+
class CartesianErrorBar(TypedDict, total=False):
|
|
838
|
+
axis: Required["Literal[\"x\", \"y\"]"]
|
|
839
|
+
sourceIndex: Required["float | int"]
|
|
840
|
+
x1: Required["float | int"]
|
|
841
|
+
y1: Required["float | int"]
|
|
842
|
+
x2: Required["float | int"]
|
|
843
|
+
y2: Required["float | int"]
|
|
844
|
+
startCap: Required["bool"]
|
|
845
|
+
endCap: Required["bool"]
|
|
846
|
+
|
|
847
|
+
class CartesianErrorBarOptions(TypedDict, total=False):
|
|
848
|
+
show: NotRequired["bool"]
|
|
849
|
+
x: NotRequired["bool"]
|
|
850
|
+
y: NotRequired["bool"]
|
|
851
|
+
color: NotRequired["str"]
|
|
852
|
+
lineWidth: NotRequired["float | int"]
|
|
853
|
+
capSize: NotRequired["float | int"]
|
|
854
|
+
|
|
855
|
+
class CartesianErrorValue(TypedDict, total=False):
|
|
856
|
+
minus: Required["float | int"]
|
|
857
|
+
plus: Required["float | int"]
|
|
858
|
+
|
|
859
|
+
class DataPoint(TypedDict, total=False):
|
|
860
|
+
x: Required["ScalarInput | None"]
|
|
861
|
+
y: Required["ScalarInput | None"]
|
|
862
|
+
base: NotRequired["ScalarInput | None"]
|
|
863
|
+
value: NotRequired["ScalarInput | None"]
|
|
864
|
+
z: NotRequired["ScalarInput | None"]
|
|
865
|
+
size: NotRequired["float | int | None"]
|
|
866
|
+
opacity: NotRequired["float | int | None"]
|
|
867
|
+
xError: NotRequired["CartesianErrorValue | None"]
|
|
868
|
+
yError: NotRequired["CartesianErrorValue | None"]
|
|
869
|
+
|
|
870
|
+
class HeatmapAxisLabel(TypedDict, total=False):
|
|
871
|
+
axis: Required["Literal[\"x\", \"y\"]"]
|
|
872
|
+
x: Required["float | int"]
|
|
873
|
+
y: Required["float | int"]
|
|
874
|
+
value: Required["float | int"]
|
|
875
|
+
index: Required["float | int"]
|
|
876
|
+
text: Required["str"]
|
|
877
|
+
color: Required["str"]
|
|
878
|
+
font: Required["str"]
|
|
879
|
+
|
|
880
|
+
class HeatmapAxisLabelOptions(TypedDict, total=False):
|
|
881
|
+
show: NotRequired["bool"]
|
|
882
|
+
labels: NotRequired["list[str]"]
|
|
883
|
+
color: NotRequired["str"]
|
|
884
|
+
font: NotRequired["str"]
|
|
885
|
+
lineHeight: NotRequired["float | int"]
|
|
886
|
+
offset: NotRequired["float | int"]
|
|
887
|
+
|
|
888
|
+
class HeatmapCell(TypedDict, total=False):
|
|
889
|
+
x: Required["float | int"]
|
|
890
|
+
y: Required["float | int"]
|
|
891
|
+
width: Required["float | int"]
|
|
892
|
+
height: Required["float | int"]
|
|
893
|
+
value: Required["float | int"]
|
|
894
|
+
xValue: Required["float | int"]
|
|
895
|
+
yValue: Required["float | int"]
|
|
896
|
+
xCategory: NotRequired["str"]
|
|
897
|
+
yCategory: NotRequired["str"]
|
|
898
|
+
row: Required["float | int"]
|
|
899
|
+
column: Required["float | int"]
|
|
900
|
+
fillColor: Required["str"]
|
|
901
|
+
sourceIndex: NotRequired["float | int"]
|
|
902
|
+
missing: NotRequired["bool"]
|
|
903
|
+
borderColor: NotRequired["str"]
|
|
904
|
+
borderWidth: NotRequired["float | int"]
|
|
905
|
+
cornerRadius: NotRequired["float | int"]
|
|
906
|
+
|
|
907
|
+
class HeatmapCellLabel(TypedDict, total=False):
|
|
908
|
+
x: Required["float | int"]
|
|
909
|
+
y: Required["float | int"]
|
|
910
|
+
value: Required["float | int"]
|
|
911
|
+
xValue: Required["float | int"]
|
|
912
|
+
yValue: Required["float | int"]
|
|
913
|
+
row: Required["float | int"]
|
|
914
|
+
column: Required["float | int"]
|
|
915
|
+
text: Required["str"]
|
|
916
|
+
color: Required["str"]
|
|
917
|
+
font: Required["str"]
|
|
918
|
+
fullText: NotRequired["str"]
|
|
919
|
+
compactText: NotRequired["str"]
|
|
920
|
+
sourceIndex: NotRequired["float | int"]
|
|
921
|
+
xCategory: NotRequired["str"]
|
|
922
|
+
yCategory: NotRequired["str"]
|
|
923
|
+
cellX: NotRequired["float | int"]
|
|
924
|
+
cellY: NotRequired["float | int"]
|
|
925
|
+
cellWidth: NotRequired["float | int"]
|
|
926
|
+
cellHeight: NotRequired["float | int"]
|
|
927
|
+
cellCornerRadius: NotRequired["float | int"]
|
|
928
|
+
cellBorderWidth: NotRequired["float | int"]
|
|
929
|
+
lineHeight: NotRequired["float | int"]
|
|
930
|
+
padding: NotRequired["float | int"]
|
|
931
|
+
minCellWidth: NotRequired["float | int"]
|
|
932
|
+
minCellHeight: NotRequired["float | int"]
|
|
933
|
+
|
|
934
|
+
class HeatmapCellLabelFormatterArgs(TypedDict, total=False):
|
|
935
|
+
value: Required["float | int"]
|
|
936
|
+
defaultLabel: Required["str"]
|
|
937
|
+
xValue: Required["float | int"]
|
|
938
|
+
yValue: Required["float | int"]
|
|
939
|
+
xCategory: NotRequired["str"]
|
|
940
|
+
yCategory: NotRequired["str"]
|
|
941
|
+
row: Required["float | int"]
|
|
942
|
+
column: Required["float | int"]
|
|
943
|
+
traceIndex: Required["float | int"]
|
|
944
|
+
sourceIndex: Required["float | int"]
|
|
945
|
+
|
|
946
|
+
class HeatmapCellLabelOptions(TypedDict, total=False):
|
|
947
|
+
show: NotRequired["bool"]
|
|
948
|
+
color: NotRequired["str"]
|
|
949
|
+
font: NotRequired["str"]
|
|
950
|
+
lineHeight: NotRequired["float | int"]
|
|
951
|
+
padding: NotRequired["float | int"]
|
|
952
|
+
decimals: NotRequired["float | int"]
|
|
953
|
+
prefix: NotRequired["str"]
|
|
954
|
+
suffix: NotRequired["str"]
|
|
955
|
+
minCellWidth: NotRequired["float | int"]
|
|
956
|
+
minCellHeight: NotRequired["float | int"]
|
|
957
|
+
formatter: NotRequired["HeatmapCellLabelFormatter"]
|
|
958
|
+
|
|
959
|
+
class HeatmapColorScaleLegend(TypedDict, total=False):
|
|
960
|
+
valueScale: NotRequired["ColorValueScale"]
|
|
961
|
+
position: Required["ColorScaleLegendPosition"]
|
|
962
|
+
x: Required["float | int"]
|
|
963
|
+
y: Required["float | int"]
|
|
964
|
+
width: Required["float | int"]
|
|
965
|
+
height: Required["float | int"]
|
|
966
|
+
minValue: Required["float | int"]
|
|
967
|
+
maxValue: Required["float | int"]
|
|
968
|
+
lowColor: Required["str"]
|
|
969
|
+
highColor: Required["str"]
|
|
970
|
+
colorStops: NotRequired["list[ColorScaleStop]"]
|
|
971
|
+
title: NotRequired["str"]
|
|
972
|
+
ticks: Required["list[HeatmapColorScaleLegendTick]"]
|
|
973
|
+
tickSize: Required["float | int"]
|
|
974
|
+
labelGap: Required["float | int"]
|
|
975
|
+
color: Required["str"]
|
|
976
|
+
labelPrefix: Required["str"]
|
|
977
|
+
labelSuffix: Required["str"]
|
|
978
|
+
font: Required["str"]
|
|
979
|
+
lineHeight: Required["float | int"]
|
|
980
|
+
titleGap: Required["float | int"]
|
|
981
|
+
borderColor: Required["str"]
|
|
982
|
+
borderWidth: Required["float | int"]
|
|
983
|
+
|
|
984
|
+
class HeatmapColorScaleLegendOptions(TypedDict, total=False):
|
|
985
|
+
show: NotRequired["bool"]
|
|
986
|
+
position: NotRequired["ColorScaleLegendPosition"]
|
|
987
|
+
title: NotRequired["str"]
|
|
988
|
+
width: NotRequired["float | int"]
|
|
989
|
+
height: NotRequired["float | int"]
|
|
990
|
+
offset: NotRequired["float | int"]
|
|
991
|
+
tickCount: NotRequired["float | int"]
|
|
992
|
+
tickValues: NotRequired["list[float | int]"]
|
|
993
|
+
tickSize: NotRequired["float | int"]
|
|
994
|
+
labelGap: NotRequired["float | int"]
|
|
995
|
+
labelPrefix: NotRequired["str"]
|
|
996
|
+
labelSuffix: NotRequired["str"]
|
|
997
|
+
decimals: NotRequired["float | int"]
|
|
998
|
+
color: NotRequired["str"]
|
|
999
|
+
font: NotRequired["str"]
|
|
1000
|
+
lineHeight: NotRequired["float | int"]
|
|
1001
|
+
titleGap: NotRequired["float | int"]
|
|
1002
|
+
borderColor: NotRequired["str"]
|
|
1003
|
+
borderWidth: NotRequired["float | int"]
|
|
1004
|
+
|
|
1005
|
+
class HeatmapColorScaleLegendTick(TypedDict, total=False):
|
|
1006
|
+
value: Required["float | int"]
|
|
1007
|
+
text: Required["str"]
|
|
1008
|
+
x: NotRequired["float | int"]
|
|
1009
|
+
y: Required["float | int"]
|
|
1010
|
+
|
|
1011
|
+
class HeatmapGridOverlay(TypedDict, total=False):
|
|
1012
|
+
xLabels: Required["list[HeatmapAxisLabel]"]
|
|
1013
|
+
yLabels: Required["list[HeatmapAxisLabel]"]
|
|
1014
|
+
guides: Required["list[HeatmapGuideLine]"]
|
|
1015
|
+
guideColor: Required["str"]
|
|
1016
|
+
guideLineWidth: Required["float | int"]
|
|
1017
|
+
|
|
1018
|
+
class HeatmapGuideLine(TypedDict, total=False):
|
|
1019
|
+
axis: Required["Literal[\"x\", \"y\"]"]
|
|
1020
|
+
x1: Required["float | int"]
|
|
1021
|
+
y1: Required["float | int"]
|
|
1022
|
+
x2: Required["float | int"]
|
|
1023
|
+
y2: Required["float | int"]
|
|
1024
|
+
index: Required["float | int"]
|
|
1025
|
+
|
|
1026
|
+
class HeatmapGuideOptions(TypedDict, total=False):
|
|
1027
|
+
show: NotRequired["bool"]
|
|
1028
|
+
color: NotRequired["str"]
|
|
1029
|
+
lineWidth: NotRequired["float | int"]
|
|
1030
|
+
|
|
1031
|
+
class HeatmapMissingCellOptions(TypedDict, total=False):
|
|
1032
|
+
show: NotRequired["bool"]
|
|
1033
|
+
fillColor: NotRequired["str"]
|
|
1034
|
+
borderColor: NotRequired["str"]
|
|
1035
|
+
borderWidth: NotRequired["float | int"]
|
|
1036
|
+
|
|
1037
|
+
class HeatmapOptions(TypedDict, total=False):
|
|
1038
|
+
cellGap: NotRequired["float | int"]
|
|
1039
|
+
cornerRadius: NotRequired["float | int"]
|
|
1040
|
+
borderColor: NotRequired["str"]
|
|
1041
|
+
borderWidth: NotRequired["float | int"]
|
|
1042
|
+
missingCells: NotRequired["HeatmapMissingCellOptions | bool"]
|
|
1043
|
+
cellLabels: NotRequired["HeatmapCellLabelOptions | bool"]
|
|
1044
|
+
valueScale: NotRequired["ColorValueScale"]
|
|
1045
|
+
lowColor: NotRequired["str"]
|
|
1046
|
+
highColor: NotRequired["str"]
|
|
1047
|
+
colorStops: NotRequired["list[ColorScaleStop]"]
|
|
1048
|
+
minValue: NotRequired["float | int"]
|
|
1049
|
+
maxValue: NotRequired["float | int"]
|
|
1050
|
+
xCategories: NotRequired["list[str]"]
|
|
1051
|
+
yCategories: NotRequired["list[str]"]
|
|
1052
|
+
xLabels: NotRequired["HeatmapAxisLabelOptions | list[str] | bool"]
|
|
1053
|
+
yLabels: NotRequired["HeatmapAxisLabelOptions | list[str] | bool"]
|
|
1054
|
+
guides: NotRequired["HeatmapGuideOptions | bool"]
|
|
1055
|
+
colorScaleLegend: NotRequired["HeatmapColorScaleLegendOptions | bool"]
|
|
1056
|
+
|
|
1057
|
+
class HeatmapTraceOptions(TypedDict, total=False):
|
|
1058
|
+
cellGap: NotRequired["float | int"]
|
|
1059
|
+
cornerRadius: NotRequired["float | int"]
|
|
1060
|
+
borderColor: NotRequired["str"]
|
|
1061
|
+
borderWidth: NotRequired["float | int"]
|
|
1062
|
+
missingCells: NotRequired["HeatmapMissingCellOptions | bool"]
|
|
1063
|
+
cellLabels: NotRequired["HeatmapCellLabelOptions | bool"]
|
|
1064
|
+
|
|
1065
|
+
class LineAxesOptions(TypedDict, total=False):
|
|
1066
|
+
show: NotRequired["bool"]
|
|
1067
|
+
labelStyle: NotRequired["AxisLabelStyleOptions"]
|
|
1068
|
+
lineStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1069
|
+
gridStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1070
|
+
xAxes: NotRequired["dict[str, LineAxesOptionsXAxes]"]
|
|
1071
|
+
yAxes: NotRequired["dict[str, LineAxesOptionsYAxes]"]
|
|
1072
|
+
|
|
1073
|
+
class LineAxesOptionsXAxes(TypedDict, total=False):
|
|
1074
|
+
show: NotRequired["bool"]
|
|
1075
|
+
labelStyle: NotRequired["AxisLabelStyleOptions"]
|
|
1076
|
+
lineStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1077
|
+
gridStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1078
|
+
title: NotRequired["str"]
|
|
1079
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
1080
|
+
viewportGroup: NotRequired["str"]
|
|
1081
|
+
ticks: NotRequired["float | int"]
|
|
1082
|
+
tickLength: NotRequired["float | int"]
|
|
1083
|
+
tickDirection: NotRequired["AxisTickDirection"]
|
|
1084
|
+
tickValues: NotRequired["list[ScalarInput]"]
|
|
1085
|
+
labelPrefix: NotRequired["str"]
|
|
1086
|
+
labelSuffix: NotRequired["str"]
|
|
1087
|
+
labelRotationDegrees: NotRequired["float | int"]
|
|
1088
|
+
labelCollision: NotRequired["Literal[\"allow\", \"hide\"]"]
|
|
1089
|
+
labelFormatter: NotRequired["AxisLabelFormatter"]
|
|
1090
|
+
range: NotRequired["LineAxesOptionsXAxesRange"]
|
|
1091
|
+
grid: NotRequired["bool"]
|
|
1092
|
+
minor: NotRequired["LineAxesOptionsXAxesMinor"]
|
|
1093
|
+
minorLogLabels: NotRequired["Literal[\"small\", \"complete\", \"none\"]"]
|
|
1094
|
+
decimals: NotRequired["float | int"]
|
|
1095
|
+
scale: NotRequired["Literal[\"linear\", \"logarithmic\", \"datetime\"]"]
|
|
1096
|
+
categories: NotRequired["list[str]"]
|
|
1097
|
+
dateTime: NotRequired["LineAxesOptionsXAxesDateTime"]
|
|
1098
|
+
padding: NotRequired["AxisPaddingPercent | float | int"]
|
|
1099
|
+
side: NotRequired["XAxisSide"]
|
|
1100
|
+
|
|
1101
|
+
class LineAxesOptionsXAxesRange(TypedDict, total=False):
|
|
1102
|
+
min: Required["ScalarInput"]
|
|
1103
|
+
max: Required["ScalarInput"]
|
|
1104
|
+
|
|
1105
|
+
class LineAxesOptionsXAxesMinor(TypedDict, total=False):
|
|
1106
|
+
show: NotRequired["bool"]
|
|
1107
|
+
ticks: NotRequired["Literal[\"inside\", \"outside\"]"]
|
|
1108
|
+
ticklen: NotRequired["float | int"]
|
|
1109
|
+
grid: NotRequired["bool"]
|
|
1110
|
+
|
|
1111
|
+
class LineAxesOptionsXAxesDateTime(TypedDict, total=False):
|
|
1112
|
+
timeZone: NotRequired["Literal[\"browser\"] | Literal[\"utc\"] | str"]
|
|
1113
|
+
format: NotRequired["Mapping[str, str | bool | int]"]
|
|
1114
|
+
|
|
1115
|
+
class LineAxesOptionsYAxes(TypedDict, total=False):
|
|
1116
|
+
show: NotRequired["bool"]
|
|
1117
|
+
labelStyle: NotRequired["AxisLabelStyleOptions"]
|
|
1118
|
+
lineStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1119
|
+
gridStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1120
|
+
title: NotRequired["str"]
|
|
1121
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
1122
|
+
viewportGroup: NotRequired["str"]
|
|
1123
|
+
ticks: NotRequired["float | int"]
|
|
1124
|
+
tickLength: NotRequired["float | int"]
|
|
1125
|
+
tickDirection: NotRequired["AxisTickDirection"]
|
|
1126
|
+
tickValues: NotRequired["list[ScalarInput]"]
|
|
1127
|
+
labelPrefix: NotRequired["str"]
|
|
1128
|
+
labelSuffix: NotRequired["str"]
|
|
1129
|
+
labelRotationDegrees: NotRequired["float | int"]
|
|
1130
|
+
labelCollision: NotRequired["Literal[\"allow\", \"hide\"]"]
|
|
1131
|
+
labelFormatter: NotRequired["AxisLabelFormatter"]
|
|
1132
|
+
range: NotRequired["LineAxesOptionsYAxesRange"]
|
|
1133
|
+
grid: NotRequired["bool"]
|
|
1134
|
+
minor: NotRequired["LineAxesOptionsYAxesMinor"]
|
|
1135
|
+
minorLogLabels: NotRequired["Literal[\"small\", \"complete\", \"none\"]"]
|
|
1136
|
+
decimals: NotRequired["float | int"]
|
|
1137
|
+
scale: NotRequired["Literal[\"linear\", \"logarithmic\", \"datetime\"]"]
|
|
1138
|
+
categories: NotRequired["list[str]"]
|
|
1139
|
+
dateTime: NotRequired["LineAxesOptionsYAxesDateTime"]
|
|
1140
|
+
padding: NotRequired["AxisPaddingPercent | float | int"]
|
|
1141
|
+
side: NotRequired["YAxisSide"]
|
|
1142
|
+
|
|
1143
|
+
class LineAxesOptionsYAxesRange(TypedDict, total=False):
|
|
1144
|
+
min: Required["ScalarInput"]
|
|
1145
|
+
max: Required["ScalarInput"]
|
|
1146
|
+
|
|
1147
|
+
class LineAxesOptionsYAxesMinor(TypedDict, total=False):
|
|
1148
|
+
show: NotRequired["bool"]
|
|
1149
|
+
ticks: NotRequired["Literal[\"inside\", \"outside\"]"]
|
|
1150
|
+
ticklen: NotRequired["float | int"]
|
|
1151
|
+
grid: NotRequired["bool"]
|
|
1152
|
+
|
|
1153
|
+
class LineAxesOptionsYAxesDateTime(TypedDict, total=False):
|
|
1154
|
+
timeZone: NotRequired["Literal[\"browser\"] | Literal[\"utc\"] | str"]
|
|
1155
|
+
format: NotRequired["Mapping[str, str | bool | int]"]
|
|
1156
|
+
|
|
1157
|
+
class LineAxisOptions(TypedDict, total=False):
|
|
1158
|
+
show: NotRequired["bool"]
|
|
1159
|
+
labelStyle: NotRequired["AxisLabelStyleOptions"]
|
|
1160
|
+
lineStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1161
|
+
gridStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
1162
|
+
title: NotRequired["str"]
|
|
1163
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
1164
|
+
viewportGroup: NotRequired["str"]
|
|
1165
|
+
ticks: NotRequired["float | int"]
|
|
1166
|
+
tickLength: NotRequired["float | int"]
|
|
1167
|
+
tickDirection: NotRequired["AxisTickDirection"]
|
|
1168
|
+
tickValues: NotRequired["list[ScalarInput]"]
|
|
1169
|
+
labelPrefix: NotRequired["str"]
|
|
1170
|
+
labelSuffix: NotRequired["str"]
|
|
1171
|
+
labelRotationDegrees: NotRequired["float | int"]
|
|
1172
|
+
labelCollision: NotRequired["Literal[\"allow\", \"hide\"]"]
|
|
1173
|
+
labelFormatter: NotRequired["AxisLabelFormatter"]
|
|
1174
|
+
range: NotRequired["LineAxisOptionsRange"]
|
|
1175
|
+
grid: NotRequired["bool"]
|
|
1176
|
+
minor: NotRequired["LineAxisOptionsMinor"]
|
|
1177
|
+
minorLogLabels: NotRequired["Literal[\"small\", \"complete\", \"none\"]"]
|
|
1178
|
+
decimals: NotRequired["float | int"]
|
|
1179
|
+
scale: NotRequired["Literal[\"linear\", \"logarithmic\", \"datetime\"]"]
|
|
1180
|
+
categories: NotRequired["list[str]"]
|
|
1181
|
+
dateTime: NotRequired["LineAxisOptionsDateTime"]
|
|
1182
|
+
padding: NotRequired["AxisPaddingPercent | float | int"]
|
|
1183
|
+
|
|
1184
|
+
class LineAxisOptionsRange(TypedDict, total=False):
|
|
1185
|
+
min: Required["ScalarInput"]
|
|
1186
|
+
max: Required["ScalarInput"]
|
|
1187
|
+
|
|
1188
|
+
class LineAxisOptionsMinor(TypedDict, total=False):
|
|
1189
|
+
show: NotRequired["bool"]
|
|
1190
|
+
ticks: NotRequired["Literal[\"inside\", \"outside\"]"]
|
|
1191
|
+
ticklen: NotRequired["float | int"]
|
|
1192
|
+
grid: NotRequired["bool"]
|
|
1193
|
+
|
|
1194
|
+
class LineAxisOptionsDateTime(TypedDict, total=False):
|
|
1195
|
+
timeZone: NotRequired["Literal[\"browser\"] | Literal[\"utc\"] | str"]
|
|
1196
|
+
format: NotRequired["Mapping[str, str | bool | int]"]
|
|
1197
|
+
|
|
1198
|
+
class LegendOptions(TypedDict, total=False):
|
|
1199
|
+
show: NotRequired["bool"]
|
|
1200
|
+
position: NotRequired["LegendPosition"]
|
|
1201
|
+
layout: NotRequired["LegendLayout"]
|
|
1202
|
+
groupBy: NotRequired["LegendGroupBy"]
|
|
1203
|
+
interactive: NotRequired["bool"]
|
|
1204
|
+
isolateOnDoubleClick: NotRequired["bool"]
|
|
1205
|
+
style: NotRequired["LegendStyleOptions"]
|
|
1206
|
+
textStyle: NotRequired["PlotTextStyleOptions"]
|
|
1207
|
+
groupTitleStyle: NotRequired["PlotTextStyleOptions"]
|
|
1208
|
+
backgroundColor: NotRequired["str"]
|
|
1209
|
+
borderColor: NotRequired["str"]
|
|
1210
|
+
borderWidth: NotRequired["float | int"]
|
|
1211
|
+
padding: NotRequired["float | int"]
|
|
1212
|
+
groups: NotRequired["list[LegendGroupOptions]"]
|
|
1213
|
+
|
|
1214
|
+
class LegendGroupOptions(TypedDict, total=False):
|
|
1215
|
+
label: NotRequired["str"]
|
|
1216
|
+
entries: Required["list[LegendEntryOptions]"]
|
|
1217
|
+
|
|
1218
|
+
class LegendEntryOptions(TypedDict, total=False):
|
|
1219
|
+
label: Required["str"]
|
|
1220
|
+
traceIndexes: Required["list[float | int]"]
|
|
1221
|
+
datumIndexes: NotRequired["list[float | int]"]
|
|
1222
|
+
|
|
1223
|
+
class LegendStyleOptions(TypedDict, total=False):
|
|
1224
|
+
text: NotRequired["PlotTextStyleOptions"]
|
|
1225
|
+
groupTitle: NotRequired["PlotTextStyleOptions"]
|
|
1226
|
+
backgroundColor: NotRequired["str"]
|
|
1227
|
+
borderColor: NotRequired["str"]
|
|
1228
|
+
borderWidth: NotRequired["float | int"]
|
|
1229
|
+
padding: NotRequired["float | int"]
|
|
1230
|
+
|
|
1231
|
+
class MarginOptions(TypedDict, total=False):
|
|
1232
|
+
l: NotRequired["float | int"]
|
|
1233
|
+
r: NotRequired["float | int"]
|
|
1234
|
+
t: NotRequired["float | int"]
|
|
1235
|
+
b: NotRequired["float | int"]
|
|
1236
|
+
|
|
1237
|
+
class MarkerOptions(TypedDict, total=False):
|
|
1238
|
+
show: NotRequired["bool"]
|
|
1239
|
+
size: NotRequired["float | int"]
|
|
1240
|
+
color: NotRequired["str"]
|
|
1241
|
+
shape: NotRequired["MarkerShape"]
|
|
1242
|
+
|
|
1243
|
+
class LinePointLabel(TypedDict, total=False):
|
|
1244
|
+
x: Required["float | int"]
|
|
1245
|
+
y: Required["float | int"]
|
|
1246
|
+
value: Required["float | int"]
|
|
1247
|
+
text: Required["str"]
|
|
1248
|
+
color: Required["str"]
|
|
1249
|
+
font: Required["str"]
|
|
1250
|
+
lineHeight: Required["float | int"]
|
|
1251
|
+
position: Required["Literal[\"above\", \"below\"]"]
|
|
1252
|
+
textBaseline: Required["Literal[\"top\", \"bottom\"]"]
|
|
1253
|
+
sourceIndex: Required["float | int"]
|
|
1254
|
+
collisionPadding: Required["float | int"]
|
|
1255
|
+
|
|
1256
|
+
class LinePointLabelFormatterArgs(TypedDict, total=False):
|
|
1257
|
+
value: Required["float | int"]
|
|
1258
|
+
defaultLabel: Required["str"]
|
|
1259
|
+
x: Required["ScalarInput"]
|
|
1260
|
+
y: Required["ScalarInput"]
|
|
1261
|
+
traceIndex: Required["float | int"]
|
|
1262
|
+
sourceIndex: Required["float | int"]
|
|
1263
|
+
|
|
1264
|
+
class LinePointLabelOptions(TypedDict, total=False):
|
|
1265
|
+
show: NotRequired["bool"]
|
|
1266
|
+
color: NotRequired["str"]
|
|
1267
|
+
font: NotRequired["str"]
|
|
1268
|
+
lineHeight: NotRequired["float | int"]
|
|
1269
|
+
position: NotRequired["LinePointLabelPosition"]
|
|
1270
|
+
offset: NotRequired["float | int"]
|
|
1271
|
+
decimals: NotRequired["float | int"]
|
|
1272
|
+
prefix: NotRequired["str"]
|
|
1273
|
+
suffix: NotRequired["str"]
|
|
1274
|
+
collisionPadding: NotRequired["float | int"]
|
|
1275
|
+
formatter: NotRequired["LinePointLabelFormatter"]
|
|
1276
|
+
|
|
1277
|
+
class LineAreaFillOptions(TypedDict, total=False):
|
|
1278
|
+
show: NotRequired["bool"]
|
|
1279
|
+
color: NotRequired["str"]
|
|
1280
|
+
opacity: NotRequired["float | int"]
|
|
1281
|
+
baseline: NotRequired["LineAreaFillBaseline"]
|
|
1282
|
+
|
|
1283
|
+
class PlotBounds(TypedDict, total=False):
|
|
1284
|
+
left: Required["float | int"]
|
|
1285
|
+
top: Required["float | int"]
|
|
1286
|
+
right: Required["float | int"]
|
|
1287
|
+
bottom: Required["float | int"]
|
|
1288
|
+
|
|
1289
|
+
class PlotAreaStyleOptions(TypedDict, total=False):
|
|
1290
|
+
backgroundColor: NotRequired["str"]
|
|
1291
|
+
|
|
1292
|
+
class PlotAxesStyleOptions(TypedDict, total=False):
|
|
1293
|
+
label: NotRequired["AxisLabelStyleOptions"]
|
|
1294
|
+
line: NotRequired["AxisStrokeStyleOptions"]
|
|
1295
|
+
grid: NotRequired["AxisStrokeStyleOptions"]
|
|
1296
|
+
|
|
1297
|
+
class PlotOptions(TypedDict, total=False):
|
|
1298
|
+
data: NotRequired["list[DataPoint]"]
|
|
1299
|
+
traces: NotRequired["list[TraceInput]"]
|
|
1300
|
+
width: Required["float | int"]
|
|
1301
|
+
height: Required["float | int"]
|
|
1302
|
+
type: Required["Literal[\"line\", \"bar\", \"polar\", \"heatmap\", \"wonderplot\", \"pie\", \"pie3d\", \"scatter3d\", \"line3d\", \"surface\", \"mesh3d\"]"]
|
|
1303
|
+
canvas: NotRequired["CanvasQualityOptions"]
|
|
1304
|
+
style: NotRequired["PlotStyleOptions"]
|
|
1305
|
+
title: NotRequired["str"]
|
|
1306
|
+
subtitle: NotRequired["str"]
|
|
1307
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
1308
|
+
subtitleStyle: NotRequired["PlotTextStyleOptions"]
|
|
1309
|
+
backgroundColor: NotRequired["str"]
|
|
1310
|
+
plotAreaBackgroundColor: NotRequired["str"]
|
|
1311
|
+
engine: NotRequired["PlotEngineMode"]
|
|
1312
|
+
lineStyle: NotRequired["TraceLineStyleOptions"]
|
|
1313
|
+
areaFill: NotRequired["LineAreaFillOptions | bool"]
|
|
1314
|
+
markers: NotRequired["MarkerOptions | bool"]
|
|
1315
|
+
pointLabels: NotRequired["LinePointLabelOptions | bool"]
|
|
1316
|
+
errorBars: NotRequired["CartesianErrorBarOptions | bool"]
|
|
1317
|
+
bar: NotRequired["BarOptions"]
|
|
1318
|
+
polar: NotRequired["PolarOptions"]
|
|
1319
|
+
pie: NotRequired["PieOptions"]
|
|
1320
|
+
pie3d: NotRequired["Pie3dOptions"]
|
|
1321
|
+
heatmap: NotRequired["HeatmapOptions"]
|
|
1322
|
+
wonderplot: NotRequired["WonderplotOptions"]
|
|
1323
|
+
scene3d: NotRequired["Scene3dOptions"]
|
|
1324
|
+
scatter3d: NotRequired["Scatter3dOptions"]
|
|
1325
|
+
line3d: NotRequired["Line3dOptions"]
|
|
1326
|
+
surface: NotRequired["SurfaceOptions"]
|
|
1327
|
+
mesh3d: NotRequired["Mesh3dOptions"]
|
|
1328
|
+
references: NotRequired["CartesianReferenceOptions"]
|
|
1329
|
+
trendline: NotRequired["TraceTrendlineOptions | bool"]
|
|
1330
|
+
connectGaps: NotRequired["bool"]
|
|
1331
|
+
axes: NotRequired["LineAxesOptions"]
|
|
1332
|
+
subplots: NotRequired["SubplotsOptions"]
|
|
1333
|
+
viewport: NotRequired["AxisViewportState"]
|
|
1334
|
+
margin: NotRequired["MarginOptions"]
|
|
1335
|
+
legend: NotRequired["LegendOptions | bool"]
|
|
1336
|
+
|
|
1337
|
+
class PlotStyleOptions(TypedDict, total=False):
|
|
1338
|
+
backgroundColor: NotRequired["str"]
|
|
1339
|
+
text: NotRequired["PlotTextStyleOptions"]
|
|
1340
|
+
title: NotRequired["PlotTextStyleOptions"]
|
|
1341
|
+
subtitle: NotRequired["PlotTextStyleOptions"]
|
|
1342
|
+
plotArea: NotRequired["PlotAreaStyleOptions"]
|
|
1343
|
+
axes: NotRequired["PlotAxesStyleOptions"]
|
|
1344
|
+
trace: NotRequired["PlotTraceStyleOptions"]
|
|
1345
|
+
legend: NotRequired["LegendStyleOptions"]
|
|
1346
|
+
tooltip: NotRequired["TooltipStyleOptions"]
|
|
1347
|
+
|
|
1348
|
+
class PlotTextStyleOptions(TypedDict, total=False):
|
|
1349
|
+
font: NotRequired["str"]
|
|
1350
|
+
color: NotRequired["str"]
|
|
1351
|
+
lineHeight: NotRequired["float | int"]
|
|
1352
|
+
|
|
1353
|
+
class ResolvedCartesianErrorBarStyle(TypedDict, total=False):
|
|
1354
|
+
color: Required["str"]
|
|
1355
|
+
lineWidth: Required["float | int"]
|
|
1356
|
+
capSize: Required["float | int"]
|
|
1357
|
+
|
|
1358
|
+
class PolarAngleLabel(TypedDict, total=False):
|
|
1359
|
+
x: Required["float | int"]
|
|
1360
|
+
y: Required["float | int"]
|
|
1361
|
+
angle: Required["float | int"]
|
|
1362
|
+
text: Required["str"]
|
|
1363
|
+
|
|
1364
|
+
class PolarAngleLabelFormatterArgs(TypedDict, total=False):
|
|
1365
|
+
angle: Required["float | int"]
|
|
1366
|
+
defaultLabel: Required["str"]
|
|
1367
|
+
index: Required["float | int"]
|
|
1368
|
+
category: NotRequired["str"]
|
|
1369
|
+
|
|
1370
|
+
class PolarAngleLabelOptions(TypedDict, total=False):
|
|
1371
|
+
show: NotRequired["bool"]
|
|
1372
|
+
color: NotRequired["str"]
|
|
1373
|
+
font: NotRequired["str"]
|
|
1374
|
+
decimals: NotRequired["float | int"]
|
|
1375
|
+
offset: NotRequired["float | int"]
|
|
1376
|
+
labels: NotRequired["list[str]"]
|
|
1377
|
+
prefix: NotRequired["str"]
|
|
1378
|
+
suffix: NotRequired["str"]
|
|
1379
|
+
formatter: NotRequired["PolarAngleLabelFormatter"]
|
|
1380
|
+
|
|
1381
|
+
class PolarAngleGuide(TypedDict, total=False):
|
|
1382
|
+
centerX: Required["float | int"]
|
|
1383
|
+
centerY: Required["float | int"]
|
|
1384
|
+
endX: Required["float | int"]
|
|
1385
|
+
endY: Required["float | int"]
|
|
1386
|
+
angle: Required["float | int"]
|
|
1387
|
+
|
|
1388
|
+
class PolarGrid(TypedDict, total=False):
|
|
1389
|
+
rings: Required["list[PolarGridRing]"]
|
|
1390
|
+
angleGuides: Required["list[PolarAngleGuide]"]
|
|
1391
|
+
labels: Required["list[PolarGridLabel]"]
|
|
1392
|
+
angleLabels: Required["list[PolarAngleLabel]"]
|
|
1393
|
+
ringColor: Required["str"]
|
|
1394
|
+
spokeColor: Required["str"]
|
|
1395
|
+
labelColor: Required["str"]
|
|
1396
|
+
labelFont: Required["str"]
|
|
1397
|
+
angleLabelColor: Required["str"]
|
|
1398
|
+
angleLabelFont: Required["str"]
|
|
1399
|
+
ringLineWidth: Required["float | int"]
|
|
1400
|
+
spokeLineWidth: Required["float | int"]
|
|
1401
|
+
|
|
1402
|
+
class PolarGridLabel(TypedDict, total=False):
|
|
1403
|
+
x: Required["float | int"]
|
|
1404
|
+
y: Required["float | int"]
|
|
1405
|
+
radius: Required["float | int"]
|
|
1406
|
+
value: Required["float | int"]
|
|
1407
|
+
text: Required["str"]
|
|
1408
|
+
angle: Required["float | int"]
|
|
1409
|
+
|
|
1410
|
+
class PolarGridLabelFormatterArgs(TypedDict, total=False):
|
|
1411
|
+
value: Required["float | int"]
|
|
1412
|
+
defaultLabel: Required["str"]
|
|
1413
|
+
index: Required["float | int"]
|
|
1414
|
+
scale: Required["PolarRadialScale"]
|
|
1415
|
+
|
|
1416
|
+
class PolarGridLabelOptions(TypedDict, total=False):
|
|
1417
|
+
show: NotRequired["bool"]
|
|
1418
|
+
color: NotRequired["str"]
|
|
1419
|
+
font: NotRequired["str"]
|
|
1420
|
+
decimals: NotRequired["float | int"]
|
|
1421
|
+
angleDegrees: NotRequired["float | int"]
|
|
1422
|
+
offset: NotRequired["float | int"]
|
|
1423
|
+
prefix: NotRequired["str"]
|
|
1424
|
+
suffix: NotRequired["str"]
|
|
1425
|
+
formatter: NotRequired["PolarGridLabelFormatter"]
|
|
1426
|
+
|
|
1427
|
+
class PolarGridOptions(TypedDict, total=False):
|
|
1428
|
+
show: NotRequired["bool"]
|
|
1429
|
+
rings: NotRequired["float | int"]
|
|
1430
|
+
ringValues: NotRequired["list[float | int]"]
|
|
1431
|
+
spokes: NotRequired["float | int"]
|
|
1432
|
+
ringColor: NotRequired["str"]
|
|
1433
|
+
spokeColor: NotRequired["str"]
|
|
1434
|
+
ringLineWidth: NotRequired["float | int"]
|
|
1435
|
+
spokeLineWidth: NotRequired["float | int"]
|
|
1436
|
+
labels: NotRequired["PolarGridLabelOptions | bool"]
|
|
1437
|
+
angleLabels: NotRequired["PolarAngleLabelOptions | bool"]
|
|
1438
|
+
|
|
1439
|
+
class PolarGridRing(TypedDict, total=False):
|
|
1440
|
+
centerX: Required["float | int"]
|
|
1441
|
+
centerY: Required["float | int"]
|
|
1442
|
+
radius: Required["float | int"]
|
|
1443
|
+
value: Required["float | int"]
|
|
1444
|
+
|
|
1445
|
+
class PolarOptions(TypedDict, total=False):
|
|
1446
|
+
sectorGapDegrees: NotRequired["float | int"]
|
|
1447
|
+
sectorOpacity: NotRequired["float | int"]
|
|
1448
|
+
borderColor: NotRequired["str"]
|
|
1449
|
+
borderWidth: NotRequired["float | int"]
|
|
1450
|
+
sectorLabels: NotRequired["PolarSectorLabelOptions | bool"]
|
|
1451
|
+
mode: NotRequired["PolarMode"]
|
|
1452
|
+
radialScale: NotRequired["PolarRadialScale"]
|
|
1453
|
+
sectorMode: NotRequired["PolarSectorMode"]
|
|
1454
|
+
angleCategories: NotRequired["list[str]"]
|
|
1455
|
+
sectorWidthDegrees: NotRequired["float | int"]
|
|
1456
|
+
startAngleDegrees: NotRequired["float | int"]
|
|
1457
|
+
clockwise: NotRequired["bool"]
|
|
1458
|
+
innerRadiusRatio: NotRequired["float | int"]
|
|
1459
|
+
outerRadiusRatio: NotRequired["float | int"]
|
|
1460
|
+
minRadius: NotRequired["float | int"]
|
|
1461
|
+
maxRadius: NotRequired["float | int"]
|
|
1462
|
+
grid: NotRequired["PolarGridOptions"]
|
|
1463
|
+
vectors: NotRequired["PolarVectorOptions"]
|
|
1464
|
+
|
|
1465
|
+
class PolarTraceOptions(TypedDict, total=False):
|
|
1466
|
+
sectorGapDegrees: NotRequired["float | int"]
|
|
1467
|
+
sectorOpacity: NotRequired["float | int"]
|
|
1468
|
+
borderColor: NotRequired["str"]
|
|
1469
|
+
borderWidth: NotRequired["float | int"]
|
|
1470
|
+
sectorLabels: NotRequired["PolarSectorLabelOptions | bool"]
|
|
1471
|
+
|
|
1472
|
+
class PolarSector(TypedDict, total=False):
|
|
1473
|
+
centerX: Required["float | int"]
|
|
1474
|
+
centerY: Required["float | int"]
|
|
1475
|
+
innerRadius: Required["float | int"]
|
|
1476
|
+
outerRadius: Required["float | int"]
|
|
1477
|
+
startAngle: Required["float | int"]
|
|
1478
|
+
endAngle: Required["float | int"]
|
|
1479
|
+
sweep: NotRequired["float | int"]
|
|
1480
|
+
clockwise: NotRequired["bool"]
|
|
1481
|
+
angle: Required["float | int"]
|
|
1482
|
+
value: Required["float | int"]
|
|
1483
|
+
opacity: NotRequired["float | int"]
|
|
1484
|
+
sourceIndex: NotRequired["float | int"]
|
|
1485
|
+
|
|
1486
|
+
class PolarSectorLabel(TypedDict, total=False):
|
|
1487
|
+
x: Required["float | int"]
|
|
1488
|
+
y: Required["float | int"]
|
|
1489
|
+
angle: Required["float | int"]
|
|
1490
|
+
value: Required["float | int"]
|
|
1491
|
+
text: Required["str"]
|
|
1492
|
+
color: Required["str"]
|
|
1493
|
+
font: Required["str"]
|
|
1494
|
+
lineHeight: NotRequired["float | int"]
|
|
1495
|
+
sectorIndex: NotRequired["float | int"]
|
|
1496
|
+
collisionPadding: NotRequired["float | int"]
|
|
1497
|
+
|
|
1498
|
+
class PolarSectorLabelFormatterArgs(TypedDict, total=False):
|
|
1499
|
+
value: Required["float | int"]
|
|
1500
|
+
defaultLabel: Required["str"]
|
|
1501
|
+
angle: Required["float | int"]
|
|
1502
|
+
traceIndex: Required["float | int"]
|
|
1503
|
+
sourceIndex: Required["float | int"]
|
|
1504
|
+
|
|
1505
|
+
class PolarSectorLabelOptions(TypedDict, total=False):
|
|
1506
|
+
show: NotRequired["bool"]
|
|
1507
|
+
color: NotRequired["str"]
|
|
1508
|
+
font: NotRequired["str"]
|
|
1509
|
+
lineHeight: NotRequired["float | int"]
|
|
1510
|
+
decimals: NotRequired["float | int"]
|
|
1511
|
+
prefix: NotRequired["str"]
|
|
1512
|
+
suffix: NotRequired["str"]
|
|
1513
|
+
minSectorRadius: NotRequired["float | int"]
|
|
1514
|
+
minSectorAngleDegrees: NotRequired["float | int"]
|
|
1515
|
+
radiusRatio: NotRequired["float | int"]
|
|
1516
|
+
collisionPadding: NotRequired["float | int"]
|
|
1517
|
+
formatter: NotRequired["PolarSectorLabelFormatter"]
|
|
1518
|
+
|
|
1519
|
+
class PolarVector(TypedDict, total=False):
|
|
1520
|
+
centerX: Required["float | int"]
|
|
1521
|
+
centerY: Required["float | int"]
|
|
1522
|
+
endX: Required["float | int"]
|
|
1523
|
+
endY: Required["float | int"]
|
|
1524
|
+
angle: Required["float | int"]
|
|
1525
|
+
value: Required["float | int"]
|
|
1526
|
+
color: Required["str"]
|
|
1527
|
+
lineWidth: Required["float | int"]
|
|
1528
|
+
headSize: Required["float | int"]
|
|
1529
|
+
headAngle: Required["float | int"]
|
|
1530
|
+
|
|
1531
|
+
class PolarVectorDirectionOptions(TypedDict, total=False):
|
|
1532
|
+
direction: NotRequired["float | int"]
|
|
1533
|
+
directionDegrees: NotRequired["float | int"]
|
|
1534
|
+
color: NotRequired["str"]
|
|
1535
|
+
lineWidth: NotRequired["float | int"]
|
|
1536
|
+
headSize: NotRequired["float | int"]
|
|
1537
|
+
headAngleDegrees: NotRequired["float | int"]
|
|
1538
|
+
|
|
1539
|
+
class PolarVectorOptions(TypedDict, total=False):
|
|
1540
|
+
show: NotRequired["bool"]
|
|
1541
|
+
directions: NotRequired["list[PolarVectorDirectionInput]"]
|
|
1542
|
+
color: NotRequired["str"]
|
|
1543
|
+
lineWidth: NotRequired["float | int"]
|
|
1544
|
+
headSize: NotRequired["float | int"]
|
|
1545
|
+
headAngleDegrees: NotRequired["float | int"]
|
|
1546
|
+
|
|
1547
|
+
class PieDatumInput(TypedDict, total=False):
|
|
1548
|
+
label: NotRequired["str"]
|
|
1549
|
+
value: Required["float | int | None"]
|
|
1550
|
+
|
|
1551
|
+
class Pie3dOptions(TypedDict, total=False):
|
|
1552
|
+
extrusionDepth: NotRequired["float | int"]
|
|
1553
|
+
curveTolerance: NotRequired["float | int"]
|
|
1554
|
+
|
|
1555
|
+
class PieLabelFormatterArgs(TypedDict, total=False):
|
|
1556
|
+
value: Required["float | int"]
|
|
1557
|
+
fraction: Required["float | int"]
|
|
1558
|
+
percentage: Required["float | int"]
|
|
1559
|
+
label: Required["str"]
|
|
1560
|
+
defaultLabel: Required["str"]
|
|
1561
|
+
color: Required["str"]
|
|
1562
|
+
traceIndex: Required["float | int"]
|
|
1563
|
+
sourceIndex: Required["float | int"]
|
|
1564
|
+
|
|
1565
|
+
class PieLabelOptions(TypedDict, total=False):
|
|
1566
|
+
show: NotRequired["bool"]
|
|
1567
|
+
position: NotRequired["PieLabelPosition"]
|
|
1568
|
+
content: NotRequired["PieLabelContent"]
|
|
1569
|
+
color: NotRequired["str"]
|
|
1570
|
+
font: NotRequired["str"]
|
|
1571
|
+
lineHeight: NotRequired["float | int"]
|
|
1572
|
+
decimals: NotRequired["float | int"]
|
|
1573
|
+
prefix: NotRequired["str"]
|
|
1574
|
+
suffix: NotRequired["str"]
|
|
1575
|
+
minSectorAngleDegrees: NotRequired["float | int"]
|
|
1576
|
+
radiusRatio: NotRequired["float | int"]
|
|
1577
|
+
offset: NotRequired["float | int"]
|
|
1578
|
+
collisionPadding: NotRequired["float | int"]
|
|
1579
|
+
formatter: NotRequired["PieLabelFormatter"]
|
|
1580
|
+
|
|
1581
|
+
class PieOptions(TypedDict, total=False):
|
|
1582
|
+
data: NotRequired["list[PieDatumInput]"]
|
|
1583
|
+
hiddenDataIndexes: NotRequired["list[float | int]"]
|
|
1584
|
+
traces: NotRequired["list[PieTraceInput]"]
|
|
1585
|
+
startAngleDegrees: NotRequired["float | int"]
|
|
1586
|
+
clockwise: NotRequired["bool"]
|
|
1587
|
+
sectorGapDegrees: NotRequired["float | int"]
|
|
1588
|
+
sectorOpacity: NotRequired["float | int"]
|
|
1589
|
+
borderColor: NotRequired["str"]
|
|
1590
|
+
borderWidth: NotRequired["float | int"]
|
|
1591
|
+
innerRadiusRatio: NotRequired["float | int"]
|
|
1592
|
+
outerRadiusRatio: NotRequired["float | int"]
|
|
1593
|
+
colors: NotRequired["list[str]"]
|
|
1594
|
+
labels: NotRequired["PieLabelOptions | bool"]
|
|
1595
|
+
|
|
1596
|
+
class PieSector(TypedDict, total=False):
|
|
1597
|
+
centerX: Required["float | int"]
|
|
1598
|
+
centerY: Required["float | int"]
|
|
1599
|
+
innerRadius: Required["float | int"]
|
|
1600
|
+
outerRadius: Required["float | int"]
|
|
1601
|
+
startAngle: Required["float | int"]
|
|
1602
|
+
endAngle: Required["float | int"]
|
|
1603
|
+
sweep: Required["float | int"]
|
|
1604
|
+
clockwise: Required["bool"]
|
|
1605
|
+
angle: Required["float | int"]
|
|
1606
|
+
value: Required["float | int"]
|
|
1607
|
+
fraction: Required["float | int"]
|
|
1608
|
+
color: Required["str"]
|
|
1609
|
+
label: Required["str"]
|
|
1610
|
+
opacity: NotRequired["float | int"]
|
|
1611
|
+
sourceIndex: NotRequired["float | int"]
|
|
1612
|
+
traceIndex: NotRequired["float | int"]
|
|
1613
|
+
|
|
1614
|
+
class PieSectorLabel(TypedDict, total=False):
|
|
1615
|
+
x: Required["float | int"]
|
|
1616
|
+
y: Required["float | int"]
|
|
1617
|
+
angle: Required["float | int"]
|
|
1618
|
+
value: Required["float | int"]
|
|
1619
|
+
fraction: Required["float | int"]
|
|
1620
|
+
text: Required["str"]
|
|
1621
|
+
color: Required["str"]
|
|
1622
|
+
font: Required["str"]
|
|
1623
|
+
lineHeight: NotRequired["float | int"]
|
|
1624
|
+
position: Required["Literal[\"inside\", \"outside\"]"]
|
|
1625
|
+
sectorIndex: NotRequired["float | int"]
|
|
1626
|
+
collisionPadding: NotRequired["float | int"]
|
|
1627
|
+
|
|
1628
|
+
class PieTraceInput(TypedDict, total=False):
|
|
1629
|
+
name: NotRequired["str"]
|
|
1630
|
+
visible: NotRequired["bool"]
|
|
1631
|
+
color: NotRequired["str"]
|
|
1632
|
+
data: NotRequired["list[PieDatumInput]"]
|
|
1633
|
+
pie: NotRequired["PieTraceOptions"]
|
|
1634
|
+
|
|
1635
|
+
class PieTraceOptions(TypedDict, total=False):
|
|
1636
|
+
data: NotRequired["list[PieDatumInput]"]
|
|
1637
|
+
hiddenDataIndexes: NotRequired["list[float | int]"]
|
|
1638
|
+
|
|
1639
|
+
class PlotTraceStyleOptions(TypedDict, total=False):
|
|
1640
|
+
line: NotRequired["TraceLineStyleOptions"]
|
|
1641
|
+
marker: NotRequired["TraceMarkerStyleOptions"]
|
|
1642
|
+
area: NotRequired["TraceAreaStyleOptions"]
|
|
1643
|
+
|
|
1644
|
+
class Point(TypedDict, total=False):
|
|
1645
|
+
x: Required["float | int"]
|
|
1646
|
+
y: Required["float | int"]
|
|
1647
|
+
|
|
1648
|
+
class Scene(TypedDict, total=False):
|
|
1649
|
+
width: Required["float | int"]
|
|
1650
|
+
height: Required["float | int"]
|
|
1651
|
+
primitives: Required["list[ScenePrimitive]"]
|
|
1652
|
+
scene3d: NotRequired["Scene3dMetadata"]
|
|
1653
|
+
scenes3d: NotRequired["list[Scene3dMetadata]"]
|
|
1654
|
+
|
|
1655
|
+
class Scene3dAxisOptions(TypedDict, total=False):
|
|
1656
|
+
range: NotRequired["Scene3dAxisOptionsRange"]
|
|
1657
|
+
padding: NotRequired["float | int"]
|
|
1658
|
+
show: NotRequired["bool"]
|
|
1659
|
+
title: NotRequired["str"]
|
|
1660
|
+
showTickLabels: NotRequired["bool"]
|
|
1661
|
+
tickCount: NotRequired["float | int"]
|
|
1662
|
+
tickDecimals: NotRequired["float | int"]
|
|
1663
|
+
|
|
1664
|
+
class Scene3dAxisOptionsRange(TypedDict, total=False):
|
|
1665
|
+
min: Required["float | int"]
|
|
1666
|
+
max: Required["float | int"]
|
|
1667
|
+
|
|
1668
|
+
class Scene3dAccessibilityOptions(TypedDict, total=False):
|
|
1669
|
+
enabled: NotRequired["bool"]
|
|
1670
|
+
label: NotRequired["str"]
|
|
1671
|
+
description: NotRequired["str"]
|
|
1672
|
+
maxRows: NotRequired["float | int"]
|
|
1673
|
+
includeTable: NotRequired["bool"]
|
|
1674
|
+
|
|
1675
|
+
class Scene3dAccessibilitySummary(TypedDict, total=False):
|
|
1676
|
+
label: Required["str"]
|
|
1677
|
+
description: Required["str"]
|
|
1678
|
+
domains: Required["Scene3dDomains"]
|
|
1679
|
+
maxRows: Required["float | int"]
|
|
1680
|
+
totalRowCount: Required["float | int"]
|
|
1681
|
+
rows: Required["list[Scene3dAccessibleDataRow]"]
|
|
1682
|
+
truncated: Required["bool"]
|
|
1683
|
+
includeTable: Required["bool"]
|
|
1684
|
+
traces: Required["list[Scene3dAccessibleTraceSummary]"]
|
|
1685
|
+
|
|
1686
|
+
class Scene3dAccessibleDataRow(TypedDict, total=False):
|
|
1687
|
+
traceIndex: Required["float | int"]
|
|
1688
|
+
traceName: NotRequired["str"]
|
|
1689
|
+
sourceIndex: Required["float | int"]
|
|
1690
|
+
x: Required["float | int | str | None"]
|
|
1691
|
+
y: Required["float | int | str | None"]
|
|
1692
|
+
z: Required["float | int | str | None"]
|
|
1693
|
+
|
|
1694
|
+
class Scene3dAccessibleTraceSummary(TypedDict, total=False):
|
|
1695
|
+
traceIndex: Required["float | int"]
|
|
1696
|
+
name: NotRequired["str"]
|
|
1697
|
+
rowCount: Required["float | int"]
|
|
1698
|
+
faceCount: NotRequired["float | int"]
|
|
1699
|
+
|
|
1700
|
+
class Scene3dCameraOptions(TypedDict, total=False):
|
|
1701
|
+
projection: NotRequired["Scene3dProjection"]
|
|
1702
|
+
eye: NotRequired["Vector3Tuple"]
|
|
1703
|
+
target: NotRequired["Vector3Tuple"]
|
|
1704
|
+
up: NotRequired["Vector3Tuple"]
|
|
1705
|
+
fieldOfViewDegrees: NotRequired["float | int"]
|
|
1706
|
+
orthographicScale: NotRequired["float | int"]
|
|
1707
|
+
near: NotRequired["float | int"]
|
|
1708
|
+
far: NotRequired["float | int"]
|
|
1709
|
+
|
|
1710
|
+
class Scene3dCameraState(TypedDict, total=False):
|
|
1711
|
+
projection: Required["Scene3dProjection"]
|
|
1712
|
+
eye: Required["Vector3Tuple"]
|
|
1713
|
+
target: Required["Vector3Tuple"]
|
|
1714
|
+
up: Required["Vector3Tuple"]
|
|
1715
|
+
fieldOfViewDegrees: Required["float | int"]
|
|
1716
|
+
orthographicScale: Required["float | int"]
|
|
1717
|
+
near: Required["float | int"]
|
|
1718
|
+
far: Required["float | int"]
|
|
1719
|
+
|
|
1720
|
+
class Scene3dColorScaleLegend(TypedDict, total=False):
|
|
1721
|
+
x: Required["float | int"]
|
|
1722
|
+
y: Required["float | int"]
|
|
1723
|
+
width: Required["float | int"]
|
|
1724
|
+
height: Required["float | int"]
|
|
1725
|
+
minValue: Required["float | int"]
|
|
1726
|
+
maxValue: Required["float | int"]
|
|
1727
|
+
lowColor: Required["str"]
|
|
1728
|
+
highColor: Required["str"]
|
|
1729
|
+
colorStops: Required["list[ColorScaleStop]"]
|
|
1730
|
+
title: Required["str"]
|
|
1731
|
+
ticks: Required["list[Scene3dColorScaleLegendTicks]"]
|
|
1732
|
+
font: Required["str"]
|
|
1733
|
+
color: Required["str"]
|
|
1734
|
+
labelGap: Required["float | int"]
|
|
1735
|
+
labelWidth: Required["float | int"]
|
|
1736
|
+
labelsVisible: Required["bool"]
|
|
1737
|
+
|
|
1738
|
+
class Scene3dColorScaleLegendTicks(TypedDict, total=False):
|
|
1739
|
+
value: Required["float | int"]
|
|
1740
|
+
text: Required["str"]
|
|
1741
|
+
y: Required["float | int"]
|
|
1742
|
+
|
|
1743
|
+
class Scene3dDomains(TypedDict, total=False):
|
|
1744
|
+
x: Required["Scene3dDomainsX"]
|
|
1745
|
+
y: Required["Scene3dDomainsY"]
|
|
1746
|
+
z: Required["Scene3dDomainsZ"]
|
|
1747
|
+
|
|
1748
|
+
class Scene3dDomainsX(TypedDict, total=False):
|
|
1749
|
+
min: Required["float | int"]
|
|
1750
|
+
max: Required["float | int"]
|
|
1751
|
+
|
|
1752
|
+
class Scene3dDomainsY(TypedDict, total=False):
|
|
1753
|
+
min: Required["float | int"]
|
|
1754
|
+
max: Required["float | int"]
|
|
1755
|
+
|
|
1756
|
+
class Scene3dDomainsZ(TypedDict, total=False):
|
|
1757
|
+
min: Required["float | int"]
|
|
1758
|
+
max: Required["float | int"]
|
|
1759
|
+
|
|
1760
|
+
class Scene3dLabel(TypedDict, total=False):
|
|
1761
|
+
axis: Required["Literal[\"x\", \"y\", \"z\"]"]
|
|
1762
|
+
text: Required["str"]
|
|
1763
|
+
x: Required["float | int"]
|
|
1764
|
+
y: Required["float | int"]
|
|
1765
|
+
depth: Required["float | int"]
|
|
1766
|
+
|
|
1767
|
+
class Scene3dLightingOptions(TypedDict, total=False):
|
|
1768
|
+
show: NotRequired["bool"]
|
|
1769
|
+
direction: NotRequired["Vector3Tuple"]
|
|
1770
|
+
ambient: NotRequired["float | int"]
|
|
1771
|
+
diffuse: NotRequired["float | int"]
|
|
1772
|
+
specular: NotRequired["float | int"]
|
|
1773
|
+
shininess: NotRequired["float | int"]
|
|
1774
|
+
twoSided: NotRequired["bool"]
|
|
1775
|
+
|
|
1776
|
+
class Scene3dMetadata(TypedDict, total=False):
|
|
1777
|
+
experimental: Required["Literal[True]"]
|
|
1778
|
+
renderer: NotRequired["Scene3dRendererDiagnostics"]
|
|
1779
|
+
subplotId: Required["str"]
|
|
1780
|
+
handedness: Required["Literal[\"right-handed\"]"]
|
|
1781
|
+
depthOrder: Required["Literal[\"far-to-near\"]"]
|
|
1782
|
+
sourcePointCount: Required["float | int"]
|
|
1783
|
+
sourceFaceCount: NotRequired["float | int"]
|
|
1784
|
+
preparedLineSegmentCount: NotRequired["float | int"]
|
|
1785
|
+
scatter3dLod: NotRequired["ResolvedScatter3dLod"]
|
|
1786
|
+
line3dLod: NotRequired["ResolvedLine3dLod"]
|
|
1787
|
+
surface3dLod: NotRequired["ResolvedSurface3dLod"]
|
|
1788
|
+
mesh3dLod: NotRequired["ResolvedMesh3dLod"]
|
|
1789
|
+
accessibility: NotRequired["Scene3dAccessibilitySummary"]
|
|
1790
|
+
interactionItemCount: Required["float | int"]
|
|
1791
|
+
projection: Required["Scene3dProjection"]
|
|
1792
|
+
camera: Required["Scene3dCameraState"]
|
|
1793
|
+
lighting: NotRequired["ResolvedScene3dLighting"]
|
|
1794
|
+
domains: Required["Scene3dDomains"]
|
|
1795
|
+
bounds: Required["PlotBounds"]
|
|
1796
|
+
segments: Required["list[Scene3dSegment]"]
|
|
1797
|
+
labels: Required["list[Scene3dLabel]"]
|
|
1798
|
+
tickLabels: Required["list[Scene3dTickLabel]"]
|
|
1799
|
+
tickLabelFont: Required["str"]
|
|
1800
|
+
axisColor: Required["str"]
|
|
1801
|
+
gridColor: Required["str"]
|
|
1802
|
+
axisLineWidth: Required["float | int"]
|
|
1803
|
+
gridLineWidth: Required["float | int"]
|
|
1804
|
+
|
|
1805
|
+
class Scene3dOptions(TypedDict, total=False):
|
|
1806
|
+
accessibility: NotRequired["bool | Scene3dAccessibilityOptions"]
|
|
1807
|
+
camera: NotRequired["Scene3dCameraOptions"]
|
|
1808
|
+
lighting: NotRequired["bool | Scene3dLightingOptions"]
|
|
1809
|
+
xAxis: NotRequired["Scene3dAxisOptions"]
|
|
1810
|
+
yAxis: NotRequired["Scene3dAxisOptions"]
|
|
1811
|
+
zAxis: NotRequired["Scene3dAxisOptions"]
|
|
1812
|
+
showAxes: NotRequired["bool"]
|
|
1813
|
+
showGrid: NotRequired["bool"]
|
|
1814
|
+
gridSteps: NotRequired["float | int"]
|
|
1815
|
+
axisColor: NotRequired["str"]
|
|
1816
|
+
gridColor: NotRequired["str"]
|
|
1817
|
+
axisLineWidth: NotRequired["float | int"]
|
|
1818
|
+
gridLineWidth: NotRequired["float | int"]
|
|
1819
|
+
maxPoints: NotRequired["float | int"]
|
|
1820
|
+
renderer: NotRequired["Scene3dRendererMode"]
|
|
1821
|
+
subplots: NotRequired["dict[str, Scene3dSubplotOptions]"]
|
|
1822
|
+
|
|
1823
|
+
class Scene3dRendererDiagnostics(TypedDict, total=False):
|
|
1824
|
+
requested: Required["Scene3dRendererMode"]
|
|
1825
|
+
resolved: Required["Scene3dResolvedRenderer"]
|
|
1826
|
+
webgl2Available: NotRequired["bool"]
|
|
1827
|
+
fallbackReason: NotRequired["str"]
|
|
1828
|
+
generation: NotRequired["float | int"]
|
|
1829
|
+
|
|
1830
|
+
class ResolvedScene3dLighting(TypedDict, total=False):
|
|
1831
|
+
direction: Required["Vector3Tuple"]
|
|
1832
|
+
ambient: Required["float | int"]
|
|
1833
|
+
diffuse: Required["float | int"]
|
|
1834
|
+
specular: Required["float | int"]
|
|
1835
|
+
shininess: Required["float | int"]
|
|
1836
|
+
twoSided: Required["bool"]
|
|
1837
|
+
|
|
1838
|
+
class ResolvedTriangleWireframeStyle(TypedDict, total=False):
|
|
1839
|
+
color: Required["str"]
|
|
1840
|
+
width: Required["float | int"]
|
|
1841
|
+
opacity: Required["float | int"]
|
|
1842
|
+
|
|
1843
|
+
class ResolvedSurfaceContourStyle(TypedDict, total=False):
|
|
1844
|
+
color: Required["str"]
|
|
1845
|
+
width: Required["float | int"]
|
|
1846
|
+
opacity: Required["float | int"]
|
|
1847
|
+
|
|
1848
|
+
class Scene3dSegment(TypedDict, total=False):
|
|
1849
|
+
kind: Required["Literal[\"axis\", \"grid\", \"tick\"]"]
|
|
1850
|
+
axis: NotRequired["Literal[\"x\", \"y\", \"z\"]"]
|
|
1851
|
+
x1: Required["float | int"]
|
|
1852
|
+
y1: Required["float | int"]
|
|
1853
|
+
depth1: Required["float | int"]
|
|
1854
|
+
x2: Required["float | int"]
|
|
1855
|
+
y2: Required["float | int"]
|
|
1856
|
+
depth2: Required["float | int"]
|
|
1857
|
+
|
|
1858
|
+
class Scene3dSubplotOptions(TypedDict, total=False):
|
|
1859
|
+
accessibility: NotRequired["bool | Scene3dAccessibilityOptions"]
|
|
1860
|
+
camera: NotRequired["Scene3dCameraOptions"]
|
|
1861
|
+
lighting: NotRequired["bool | Scene3dLightingOptions"]
|
|
1862
|
+
xAxis: NotRequired["Scene3dAxisOptions"]
|
|
1863
|
+
yAxis: NotRequired["Scene3dAxisOptions"]
|
|
1864
|
+
zAxis: NotRequired["Scene3dAxisOptions"]
|
|
1865
|
+
showAxes: NotRequired["bool"]
|
|
1866
|
+
showGrid: NotRequired["bool"]
|
|
1867
|
+
gridSteps: NotRequired["float | int"]
|
|
1868
|
+
axisColor: NotRequired["str"]
|
|
1869
|
+
gridColor: NotRequired["str"]
|
|
1870
|
+
axisLineWidth: NotRequired["float | int"]
|
|
1871
|
+
gridLineWidth: NotRequired["float | int"]
|
|
1872
|
+
maxPoints: NotRequired["float | int"]
|
|
1873
|
+
|
|
1874
|
+
class Scene3dTickLabel(TypedDict, total=False):
|
|
1875
|
+
axis: Required["Literal[\"x\", \"y\", \"z\"]"]
|
|
1876
|
+
value: Required["float | int"]
|
|
1877
|
+
text: Required["str"]
|
|
1878
|
+
x: Required["float | int"]
|
|
1879
|
+
y: Required["float | int"]
|
|
1880
|
+
depth: Required["float | int"]
|
|
1881
|
+
|
|
1882
|
+
class ScenePrimitive(TypedDict, total=False):
|
|
1883
|
+
type: Required["Literal[\"line\", \"bar\", \"polar\", \"heatmap\", \"wonderplot\", \"pie\", \"pie3d\", \"scatter3d\", \"line3d\", \"surface\", \"mesh3d\"]"]
|
|
1884
|
+
points: Required["list[Point]"]
|
|
1885
|
+
color: Required["str"]
|
|
1886
|
+
lineWidth: Required["float | int"]
|
|
1887
|
+
pieSectors: NotRequired["list[PieSector]"]
|
|
1888
|
+
pieSectorLabels: NotRequired["list[PieSectorLabel]"]
|
|
1889
|
+
pie3dLabels: NotRequired["list[PieSectorLabel]"]
|
|
1890
|
+
bars: NotRequired["list[BarRect]"]
|
|
1891
|
+
barValueLabels: NotRequired["list[BarValueLabel]"]
|
|
1892
|
+
polarSectors: NotRequired["list[PolarSector]"]
|
|
1893
|
+
polarSectorLabels: NotRequired["list[PolarSectorLabel]"]
|
|
1894
|
+
polarGrid: NotRequired["PolarGrid"]
|
|
1895
|
+
polarVectors: NotRequired["list[PolarVector]"]
|
|
1896
|
+
heatmapCells: NotRequired["list[HeatmapCell]"]
|
|
1897
|
+
heatmapCellLabels: NotRequired["list[HeatmapCellLabel]"]
|
|
1898
|
+
heatmapGrid: NotRequired["HeatmapGridOverlay"]
|
|
1899
|
+
heatmapColorScaleLegend: NotRequired["HeatmapColorScaleLegend"]
|
|
1900
|
+
wonderPoints: NotRequired["list[WonderPoint]"]
|
|
1901
|
+
wonderplotMarkerLabels: NotRequired["list[WonderplotMarkerLabel]"]
|
|
1902
|
+
wonderplotColorScaleLegend: NotRequired["WonderplotColorScaleLegend"]
|
|
1903
|
+
scatter3dPoints: NotRequired["list[Scatter3dPoint]"]
|
|
1904
|
+
line3dSegments: NotRequired["list[Line3dSegment]"]
|
|
1905
|
+
surface3dTriangles: NotRequired["list[Surface3dTriangle]"]
|
|
1906
|
+
surface3dContourSegments: NotRequired["list[Surface3dContourSegment]"]
|
|
1907
|
+
surface3dContourLevels: NotRequired["list[float | int]"]
|
|
1908
|
+
surface3dColorScaleLegend: NotRequired["Surface3dColorScaleLegend"]
|
|
1909
|
+
scene3dColorScaleLegend: NotRequired["Scene3dColorScaleLegend"]
|
|
1910
|
+
mesh3dTriangles: NotRequired["list[Mesh3dTriangle]"]
|
|
1911
|
+
linePointLabels: NotRequired["list[LinePointLabel]"]
|
|
1912
|
+
errorBars: NotRequired["list[CartesianErrorBar]"]
|
|
1913
|
+
errorBarStyle: NotRequired["ResolvedCartesianErrorBarStyle"]
|
|
1914
|
+
borderColor: NotRequired["str"]
|
|
1915
|
+
borderWidth: NotRequired["float | int"]
|
|
1916
|
+
subplot: NotRequired["str"]
|
|
1917
|
+
bounds: NotRequired["PlotBounds"]
|
|
1918
|
+
traceIndex: NotRequired["float | int"]
|
|
1919
|
+
trendline: NotRequired["ScenePrimitiveTrendline"]
|
|
1920
|
+
markers: NotRequired["ScenePrimitiveMarkers"]
|
|
1921
|
+
markerShape: NotRequired["MarkerShape"]
|
|
1922
|
+
interpolation: NotRequired["LineInterpolation"]
|
|
1923
|
+
markerPoints: NotRequired["list[Point]"]
|
|
1924
|
+
linePattern: NotRequired["LinePattern"]
|
|
1925
|
+
lineOpacity: NotRequired["float | int"]
|
|
1926
|
+
areaFill: NotRequired["ScenePrimitiveAreaFill"]
|
|
1927
|
+
|
|
1928
|
+
class ScenePrimitiveTrendline(TypedDict, total=False):
|
|
1929
|
+
sourceTraceIndex: Required["float | int"]
|
|
1930
|
+
method: Required["TraceTrendlineMethod"]
|
|
1931
|
+
degree: NotRequired["float | int"]
|
|
1932
|
+
|
|
1933
|
+
class ScenePrimitiveMarkers(TypedDict, total=False):
|
|
1934
|
+
show: Required["bool"]
|
|
1935
|
+
size: Required["float | int"]
|
|
1936
|
+
color: NotRequired["str"]
|
|
1937
|
+
shape: NotRequired["MarkerShape"]
|
|
1938
|
+
|
|
1939
|
+
class ScenePrimitiveAreaFill(TypedDict, total=False):
|
|
1940
|
+
color: NotRequired["str"]
|
|
1941
|
+
opacity: Required["float | int"]
|
|
1942
|
+
baselineY: Required["float | int"]
|
|
1943
|
+
|
|
1944
|
+
class SubplotItemOptions(TypedDict, total=False):
|
|
1945
|
+
row: Required["float | int"]
|
|
1946
|
+
column: Required["float | int"]
|
|
1947
|
+
rowSpan: NotRequired["float | int"]
|
|
1948
|
+
columnSpan: NotRequired["float | int"]
|
|
1949
|
+
xAxis: NotRequired["str"]
|
|
1950
|
+
yAxis: NotRequired["str"]
|
|
1951
|
+
|
|
1952
|
+
class SubplotLayoutOptions(TypedDict, total=False):
|
|
1953
|
+
rows: NotRequired["float | int | list[SubplotTrackOptions]"]
|
|
1954
|
+
columns: NotRequired["float | int | list[SubplotTrackOptions]"]
|
|
1955
|
+
rowGap: NotRequired["float | int"]
|
|
1956
|
+
columnGap: NotRequired["float | int"]
|
|
1957
|
+
|
|
1958
|
+
class SubplotsOptions(TypedDict, total=False):
|
|
1959
|
+
layout: NotRequired["SubplotLayoutOptions"]
|
|
1960
|
+
items: NotRequired["dict[str, SubplotItemOptions]"]
|
|
1961
|
+
|
|
1962
|
+
class SubplotTrackOptions(TypedDict, total=False):
|
|
1963
|
+
id: NotRequired["str"]
|
|
1964
|
+
weight: NotRequired["float | int"]
|
|
1965
|
+
|
|
1966
|
+
class TraceInput(TypedDict, total=False):
|
|
1967
|
+
data: Required["list[DataPoint]"]
|
|
1968
|
+
name: NotRequired["str"]
|
|
1969
|
+
visible: NotRequired["bool"]
|
|
1970
|
+
color: NotRequired["str"]
|
|
1971
|
+
lineStyle: NotRequired["TraceLineStyleOptions"]
|
|
1972
|
+
areaFill: NotRequired["LineAreaFillOptions | bool"]
|
|
1973
|
+
markers: NotRequired["MarkerOptions | bool"]
|
|
1974
|
+
pointLabels: NotRequired["LinePointLabelOptions | bool"]
|
|
1975
|
+
errorBars: NotRequired["CartesianErrorBarOptions | bool"]
|
|
1976
|
+
bar: NotRequired["BarTraceOptions"]
|
|
1977
|
+
heatmap: NotRequired["HeatmapTraceOptions"]
|
|
1978
|
+
polar: NotRequired["PolarTraceOptions"]
|
|
1979
|
+
pie: NotRequired["PieTraceOptions"]
|
|
1980
|
+
wonderplot: NotRequired["WonderplotTraceOptions"]
|
|
1981
|
+
scatter3d: NotRequired["Scatter3dTraceOptions"]
|
|
1982
|
+
line3d: NotRequired["Line3dTraceOptions"]
|
|
1983
|
+
surface: NotRequired["SurfaceTraceOptions"]
|
|
1984
|
+
mesh3d: NotRequired["Mesh3dTraceOptions"]
|
|
1985
|
+
trendline: NotRequired["TraceTrendlineOptions | bool"]
|
|
1986
|
+
polarVector: NotRequired["PolarVectorOptions | bool"]
|
|
1987
|
+
connectGaps: NotRequired["bool"]
|
|
1988
|
+
xAxis: NotRequired["str"]
|
|
1989
|
+
yAxis: NotRequired["str"]
|
|
1990
|
+
subplot: NotRequired["str"]
|
|
1991
|
+
|
|
1992
|
+
class Scatter3dPoint(TypedDict, total=False):
|
|
1993
|
+
x: Required["float | int"]
|
|
1994
|
+
y: Required["float | int"]
|
|
1995
|
+
depth: Required["float | int"]
|
|
1996
|
+
sourceIndex: Required["float | int"]
|
|
1997
|
+
sourceX: Required["float | int"]
|
|
1998
|
+
sourceY: Required["float | int"]
|
|
1999
|
+
sourceZ: Required["float | int"]
|
|
2000
|
+
radius: Required["float | int"]
|
|
2001
|
+
sizeValue: NotRequired["float | int"]
|
|
2002
|
+
opacity: Required["float | int"]
|
|
2003
|
+
opacityValue: NotRequired["float | int"]
|
|
2004
|
+
colorValue: NotRequired["float | int"]
|
|
2005
|
+
fillColor: Required["str"]
|
|
2006
|
+
markerShape: Required["MarkerShape"]
|
|
2007
|
+
|
|
2008
|
+
class Scatter3dColorScaleOptions(TypedDict, total=False):
|
|
2009
|
+
valueScale: NotRequired["ColorValueScale"]
|
|
2010
|
+
lowColor: NotRequired["str"]
|
|
2011
|
+
highColor: NotRequired["str"]
|
|
2012
|
+
colorStops: NotRequired["list[ColorScaleStop]"]
|
|
2013
|
+
minValue: NotRequired["float | int"]
|
|
2014
|
+
maxValue: NotRequired["float | int"]
|
|
2015
|
+
|
|
2016
|
+
class Scatter3dLodOptions(TypedDict, total=False):
|
|
2017
|
+
enabled: NotRequired["bool"]
|
|
2018
|
+
strategy: NotRequired["Scatter3dLodStrategy"]
|
|
2019
|
+
maxPoints: NotRequired["float | int"]
|
|
2020
|
+
|
|
2021
|
+
class Scatter3dOpacityScaleOptions(TypedDict, total=False):
|
|
2022
|
+
enabled: NotRequired["bool"]
|
|
2023
|
+
minOpacity: NotRequired["float | int"]
|
|
2024
|
+
maxOpacity: NotRequired["float | int"]
|
|
2025
|
+
minValue: NotRequired["float | int"]
|
|
2026
|
+
maxValue: NotRequired["float | int"]
|
|
2027
|
+
|
|
2028
|
+
class Scatter3dOptions(TypedDict, total=False):
|
|
2029
|
+
markerSize: NotRequired["float | int"]
|
|
2030
|
+
markerOpacity: NotRequired["float | int"]
|
|
2031
|
+
markerShape: NotRequired["MarkerShape"]
|
|
2032
|
+
colorScale: NotRequired["Scatter3dColorScaleOptions"]
|
|
2033
|
+
sizeScale: NotRequired["Scatter3dSizeScaleOptions | bool"]
|
|
2034
|
+
opacityScale: NotRequired["Scatter3dOpacityScaleOptions | bool"]
|
|
2035
|
+
colorScaleLegend: NotRequired["bool"]
|
|
2036
|
+
lod: NotRequired["bool | Scatter3dLodOptions"]
|
|
2037
|
+
|
|
2038
|
+
class ResolvedScatter3dLod(TypedDict, total=False):
|
|
2039
|
+
strategy: Required["Scatter3dLodStrategy"]
|
|
2040
|
+
maxPoints: Required["float | int"]
|
|
2041
|
+
candidatePointCount: Required["float | int"]
|
|
2042
|
+
sampledPointCount: Required["float | int"]
|
|
2043
|
+
|
|
2044
|
+
class Scatter3dSizeScaleOptions(TypedDict, total=False):
|
|
2045
|
+
enabled: NotRequired["bool"]
|
|
2046
|
+
minSize: NotRequired["float | int"]
|
|
2047
|
+
maxSize: NotRequired["float | int"]
|
|
2048
|
+
minValue: NotRequired["float | int"]
|
|
2049
|
+
maxValue: NotRequired["float | int"]
|
|
2050
|
+
|
|
2051
|
+
class Scatter3dTraceOptions(TypedDict, total=False):
|
|
2052
|
+
markerSize: NotRequired["float | int"]
|
|
2053
|
+
markerOpacity: NotRequired["float | int"]
|
|
2054
|
+
markerShape: NotRequired["MarkerShape"]
|
|
2055
|
+
|
|
2056
|
+
class Line3dLodOptions(TypedDict, total=False):
|
|
2057
|
+
enabled: NotRequired["bool"]
|
|
2058
|
+
strategy: NotRequired["Line3dLodStrategy"]
|
|
2059
|
+
maxSourceSegments: NotRequired["float | int"]
|
|
2060
|
+
|
|
2061
|
+
class Line3dOptions(TypedDict, total=False):
|
|
2062
|
+
lineWidth: NotRequired["float | int"]
|
|
2063
|
+
lineOpacity: NotRequired["float | int"]
|
|
2064
|
+
interpolation: NotRequired["Line3dInterpolation"]
|
|
2065
|
+
lod: NotRequired["bool | Line3dLodOptions"]
|
|
2066
|
+
maxSegments: NotRequired["float | int"]
|
|
2067
|
+
|
|
2068
|
+
class ResolvedLine3dLod(TypedDict, total=False):
|
|
2069
|
+
strategy: Required["Line3dLodStrategy"]
|
|
2070
|
+
maxSourceSegments: Required["float | int"]
|
|
2071
|
+
candidateSourceSegmentCount: Required["float | int"]
|
|
2072
|
+
sampledSourceSegmentCount: Required["float | int"]
|
|
2073
|
+
sampledPointCount: Required["float | int"]
|
|
2074
|
+
preparedSegmentCount: Required["float | int"]
|
|
2075
|
+
|
|
2076
|
+
class Line3dSegment(TypedDict, total=False):
|
|
2077
|
+
x1: Required["float | int"]
|
|
2078
|
+
y1: Required["float | int"]
|
|
2079
|
+
depth1: Required["float | int"]
|
|
2080
|
+
x2: Required["float | int"]
|
|
2081
|
+
y2: Required["float | int"]
|
|
2082
|
+
depth2: Required["float | int"]
|
|
2083
|
+
sourceIndex1: Required["float | int"]
|
|
2084
|
+
sourceIndex2: Required["float | int"]
|
|
2085
|
+
sourceRatio1: NotRequired["float | int"]
|
|
2086
|
+
sourceRatio2: NotRequired["float | int"]
|
|
2087
|
+
sourceX1: Required["float | int"]
|
|
2088
|
+
sourceY1: Required["float | int"]
|
|
2089
|
+
sourceZ1: Required["float | int"]
|
|
2090
|
+
sourceX2: Required["float | int"]
|
|
2091
|
+
sourceY2: Required["float | int"]
|
|
2092
|
+
sourceZ2: Required["float | int"]
|
|
2093
|
+
opacity: Required["float | int"]
|
|
2094
|
+
|
|
2095
|
+
class Line3dTraceOptions(TypedDict, total=False):
|
|
2096
|
+
lineWidth: NotRequired["float | int"]
|
|
2097
|
+
lineOpacity: NotRequired["float | int"]
|
|
2098
|
+
interpolation: NotRequired["Line3dInterpolation"]
|
|
2099
|
+
|
|
2100
|
+
class Mesh3dLodOptions(TypedDict, total=False):
|
|
2101
|
+
enabled: NotRequired["bool"]
|
|
2102
|
+
strategy: NotRequired["Mesh3dLodStrategy"]
|
|
2103
|
+
maxFaces: NotRequired["float | int"]
|
|
2104
|
+
|
|
2105
|
+
class Mesh3dOptions(TypedDict, total=False):
|
|
2106
|
+
faces: NotRequired["list[Mesh3dFace]"]
|
|
2107
|
+
faceColors: NotRequired["list[str]"]
|
|
2108
|
+
vertexColors: NotRequired["list[str]"]
|
|
2109
|
+
opacity: NotRequired["float | int"]
|
|
2110
|
+
backfaceCulling: NotRequired["bool"]
|
|
2111
|
+
wireframe: NotRequired["bool | TriangleWireframeOptions"]
|
|
2112
|
+
lod: NotRequired["bool | Mesh3dLodOptions"]
|
|
2113
|
+
maxFaces: NotRequired["float | int"]
|
|
2114
|
+
|
|
2115
|
+
class Mesh3dTraceOptions(TypedDict, total=False):
|
|
2116
|
+
faces: NotRequired["list[Mesh3dFace]"]
|
|
2117
|
+
faceColors: NotRequired["list[str]"]
|
|
2118
|
+
vertexColors: NotRequired["list[str]"]
|
|
2119
|
+
opacity: NotRequired["float | int"]
|
|
2120
|
+
backfaceCulling: NotRequired["bool"]
|
|
2121
|
+
wireframe: NotRequired["bool | TriangleWireframeOptions"]
|
|
2122
|
+
|
|
2123
|
+
class Mesh3dTriangle(TypedDict, total=False):
|
|
2124
|
+
vertices: Required["tuple[Mesh3dVertex, Mesh3dVertex, Mesh3dVertex]"]
|
|
2125
|
+
sourceFace: Required["Mesh3dTriangleSourceFace"]
|
|
2126
|
+
normal: Required["Vector3Tuple"]
|
|
2127
|
+
frontFacing: Required["bool"]
|
|
2128
|
+
fillColor: Required["str"]
|
|
2129
|
+
lighting: NotRequired["Mesh3dTriangleLighting"]
|
|
2130
|
+
opacity: Required["float | int"]
|
|
2131
|
+
wireframe: NotRequired["ResolvedTriangleWireframeStyle"]
|
|
2132
|
+
wireframeEdges: NotRequired["tuple[bool, bool, bool]"]
|
|
2133
|
+
depth: Required["float | int"]
|
|
2134
|
+
pie3d: NotRequired["Mesh3dTrianglePie3d"]
|
|
2135
|
+
|
|
2136
|
+
class Mesh3dTriangleSourceFace(TypedDict, total=False):
|
|
2137
|
+
index: Required["float | int"]
|
|
2138
|
+
vertexIndexes: Required["Mesh3dFace"]
|
|
2139
|
+
|
|
2140
|
+
class Mesh3dTriangleLighting(TypedDict, total=False):
|
|
2141
|
+
baseColor: Required["str"]
|
|
2142
|
+
normalDot: Required["float | int"]
|
|
2143
|
+
intensity: Required["float | int"]
|
|
2144
|
+
specularDot: Required["float | int"]
|
|
2145
|
+
specularIntensity: Required["float | int"]
|
|
2146
|
+
|
|
2147
|
+
class Mesh3dTrianglePie3d(TypedDict, total=False):
|
|
2148
|
+
label: Required["str"]
|
|
2149
|
+
value: Required["float | int"]
|
|
2150
|
+
fraction: Required["float | int"]
|
|
2151
|
+
color: Required["str"]
|
|
2152
|
+
face: Required["Literal[\"top\", \"bottom\", \"outer\", \"inner\", \"start\", \"end\"]"]
|
|
2153
|
+
|
|
2154
|
+
class Mesh3dVertex(TypedDict, total=False):
|
|
2155
|
+
x: Required["float | int"]
|
|
2156
|
+
y: Required["float | int"]
|
|
2157
|
+
depth: Required["float | int"]
|
|
2158
|
+
sourceIndex: Required["float | int"]
|
|
2159
|
+
sourceX: Required["float | int"]
|
|
2160
|
+
sourceY: Required["float | int"]
|
|
2161
|
+
sourceZ: Required["float | int"]
|
|
2162
|
+
|
|
2163
|
+
class ResolvedMesh3dLod(TypedDict, total=False):
|
|
2164
|
+
strategy: Required["Mesh3dLodStrategy"]
|
|
2165
|
+
maxFaces: Required["float | int"]
|
|
2166
|
+
candidateFaceCount: Required["float | int"]
|
|
2167
|
+
sampledFaceCount: Required["float | int"]
|
|
2168
|
+
sampledVertexCount: Required["float | int"]
|
|
2169
|
+
preparedTriangleCount: Required["float | int"]
|
|
2170
|
+
|
|
2171
|
+
class Surface3dColorScaleLegend(TypedDict, total=False):
|
|
2172
|
+
x: Required["float | int"]
|
|
2173
|
+
y: Required["float | int"]
|
|
2174
|
+
width: Required["float | int"]
|
|
2175
|
+
height: Required["float | int"]
|
|
2176
|
+
minValue: Required["float | int"]
|
|
2177
|
+
maxValue: Required["float | int"]
|
|
2178
|
+
lowColor: Required["str"]
|
|
2179
|
+
highColor: Required["str"]
|
|
2180
|
+
colorStops: Required["list[ColorScaleStop]"]
|
|
2181
|
+
title: Required["str"]
|
|
2182
|
+
ticks: Required["list[Surface3dColorScaleLegendTicks]"]
|
|
2183
|
+
font: Required["str"]
|
|
2184
|
+
color: Required["str"]
|
|
2185
|
+
labelGap: Required["float | int"]
|
|
2186
|
+
labelWidth: Required["float | int"]
|
|
2187
|
+
labelsVisible: Required["bool"]
|
|
2188
|
+
|
|
2189
|
+
class Surface3dColorScaleLegendTicks(TypedDict, total=False):
|
|
2190
|
+
value: Required["float | int"]
|
|
2191
|
+
text: Required["str"]
|
|
2192
|
+
y: Required["float | int"]
|
|
2193
|
+
|
|
2194
|
+
class Surface3dContourSegment(TypedDict, total=False):
|
|
2195
|
+
x1: Required["float | int"]
|
|
2196
|
+
y1: Required["float | int"]
|
|
2197
|
+
depth1: Required["float | int"]
|
|
2198
|
+
x2: Required["float | int"]
|
|
2199
|
+
y2: Required["float | int"]
|
|
2200
|
+
depth2: Required["float | int"]
|
|
2201
|
+
sourceX1: Required["float | int"]
|
|
2202
|
+
sourceY1: Required["float | int"]
|
|
2203
|
+
sourceZ1: Required["float | int"]
|
|
2204
|
+
sourceX2: Required["float | int"]
|
|
2205
|
+
sourceY2: Required["float | int"]
|
|
2206
|
+
sourceZ2: Required["float | int"]
|
|
2207
|
+
level: Required["float | int"]
|
|
2208
|
+
sourceCell: Required["Surface3dContourSegmentSourceCell"]
|
|
2209
|
+
style: Required["ResolvedSurfaceContourStyle"]
|
|
2210
|
+
|
|
2211
|
+
class Surface3dContourSegmentSourceCell(TypedDict, total=False):
|
|
2212
|
+
index: Required["float | int"]
|
|
2213
|
+
row: Required["float | int"]
|
|
2214
|
+
column: Required["float | int"]
|
|
2215
|
+
triangle: Required["Literal[0, 1]"]
|
|
2216
|
+
|
|
2217
|
+
class Surface3dLodOptions(TypedDict, total=False):
|
|
2218
|
+
enabled: NotRequired["bool"]
|
|
2219
|
+
strategy: NotRequired["Surface3dLodStrategy"]
|
|
2220
|
+
maxCells: NotRequired["float | int"]
|
|
2221
|
+
|
|
2222
|
+
class Surface3dTriangle(TypedDict, total=False):
|
|
2223
|
+
vertices: Required["tuple[Surface3dVertex, Surface3dVertex, Surface3dVertex]"]
|
|
2224
|
+
sourceCell: Required["Surface3dTriangleSourceCell"]
|
|
2225
|
+
normal: Required["Vector3Tuple"]
|
|
2226
|
+
fillColor: Required["str"]
|
|
2227
|
+
lighting: NotRequired["Surface3dTriangleLighting"]
|
|
2228
|
+
opacity: Required["float | int"]
|
|
2229
|
+
wireframe: NotRequired["ResolvedTriangleWireframeStyle"]
|
|
2230
|
+
wireframeEdges: NotRequired["tuple[bool, bool, bool]"]
|
|
2231
|
+
depth: Required["float | int"]
|
|
2232
|
+
|
|
2233
|
+
class Surface3dTriangleSourceCell(TypedDict, total=False):
|
|
2234
|
+
index: Required["float | int"]
|
|
2235
|
+
row: Required["float | int"]
|
|
2236
|
+
column: Required["float | int"]
|
|
2237
|
+
triangle: Required["Literal[0, 1]"]
|
|
2238
|
+
|
|
2239
|
+
class Surface3dTriangleLighting(TypedDict, total=False):
|
|
2240
|
+
baseColor: Required["str"]
|
|
2241
|
+
normalDot: Required["float | int"]
|
|
2242
|
+
intensity: Required["float | int"]
|
|
2243
|
+
specularDot: Required["float | int"]
|
|
2244
|
+
specularIntensity: Required["float | int"]
|
|
2245
|
+
|
|
2246
|
+
class Surface3dVertex(TypedDict, total=False):
|
|
2247
|
+
x: Required["float | int"]
|
|
2248
|
+
y: Required["float | int"]
|
|
2249
|
+
depth: Required["float | int"]
|
|
2250
|
+
sourceIndex: Required["float | int"]
|
|
2251
|
+
sourceX: Required["float | int"]
|
|
2252
|
+
sourceY: Required["float | int"]
|
|
2253
|
+
sourceZ: Required["float | int"]
|
|
2254
|
+
|
|
2255
|
+
class ResolvedSurface3dLod(TypedDict, total=False):
|
|
2256
|
+
strategy: Required["Surface3dLodStrategy"]
|
|
2257
|
+
maxCells: Required["float | int"]
|
|
2258
|
+
candidateCellCount: Required["float | int"]
|
|
2259
|
+
sampledCellCount: Required["float | int"]
|
|
2260
|
+
sampledPointCount: Required["float | int"]
|
|
2261
|
+
preparedTriangleCount: Required["float | int"]
|
|
2262
|
+
|
|
2263
|
+
class SurfaceContourOptions(TypedDict, total=False):
|
|
2264
|
+
show: NotRequired["bool"]
|
|
2265
|
+
values: NotRequired["list[float | int]"]
|
|
2266
|
+
count: NotRequired["float | int"]
|
|
2267
|
+
color: NotRequired["str"]
|
|
2268
|
+
width: NotRequired["float | int"]
|
|
2269
|
+
opacity: NotRequired["float | int"]
|
|
2270
|
+
|
|
2271
|
+
class SurfaceOptions(TypedDict, total=False):
|
|
2272
|
+
lowColor: NotRequired["str"]
|
|
2273
|
+
highColor: NotRequired["str"]
|
|
2274
|
+
colorStops: NotRequired["list[ColorScaleStop]"]
|
|
2275
|
+
minValue: NotRequired["float | int"]
|
|
2276
|
+
maxValue: NotRequired["float | int"]
|
|
2277
|
+
opacity: NotRequired["float | int"]
|
|
2278
|
+
wireframe: NotRequired["bool | TriangleWireframeOptions"]
|
|
2279
|
+
contours: NotRequired["bool | SurfaceContourOptions"]
|
|
2280
|
+
lod: NotRequired["bool | Surface3dLodOptions"]
|
|
2281
|
+
missingCells: NotRequired["SurfaceMissingCellPolicy"]
|
|
2282
|
+
maxTriangles: NotRequired["float | int"]
|
|
2283
|
+
maxContourSegments: NotRequired["float | int"]
|
|
2284
|
+
colorScaleLegend: NotRequired["bool"]
|
|
2285
|
+
|
|
2286
|
+
class SurfaceTraceOptions(TypedDict, total=False):
|
|
2287
|
+
opacity: NotRequired["float | int"]
|
|
2288
|
+
wireframe: NotRequired["bool | TriangleWireframeOptions"]
|
|
2289
|
+
contours: NotRequired["bool | SurfaceContourOptions"]
|
|
2290
|
+
|
|
2291
|
+
class TriangleWireframeOptions(TypedDict, total=False):
|
|
2292
|
+
show: NotRequired["bool"]
|
|
2293
|
+
color: NotRequired["str"]
|
|
2294
|
+
width: NotRequired["float | int"]
|
|
2295
|
+
opacity: NotRequired["float | int"]
|
|
2296
|
+
|
|
2297
|
+
class TraceAreaStyleOptions(TypedDict, total=False):
|
|
2298
|
+
show: NotRequired["bool"]
|
|
2299
|
+
color: NotRequired["str"]
|
|
2300
|
+
opacity: NotRequired["float | int"]
|
|
2301
|
+
|
|
2302
|
+
class TraceLineStyleOptions(TypedDict, total=False):
|
|
2303
|
+
color: NotRequired["str"]
|
|
2304
|
+
lineWidth: NotRequired["float | int"]
|
|
2305
|
+
opacity: NotRequired["float | int"]
|
|
2306
|
+
interpolation: NotRequired["LineInterpolation"]
|
|
2307
|
+
pattern: NotRequired["LinePattern"]
|
|
2308
|
+
|
|
2309
|
+
class TraceMarkerStyleOptions(TypedDict, total=False):
|
|
2310
|
+
show: NotRequired["bool"]
|
|
2311
|
+
size: NotRequired["float | int"]
|
|
2312
|
+
color: NotRequired["str"]
|
|
2313
|
+
shape: NotRequired["MarkerShape"]
|
|
2314
|
+
|
|
2315
|
+
class TraceTrendlineOptions(TypedDict, total=False):
|
|
2316
|
+
show: NotRequired["bool"]
|
|
2317
|
+
method: NotRequired["TraceTrendlineMethod"]
|
|
2318
|
+
degree: NotRequired["float | int"]
|
|
2319
|
+
samples: NotRequired["float | int"]
|
|
2320
|
+
color: NotRequired["str"]
|
|
2321
|
+
|
|
2322
|
+
class TooltipStyleOptions(TypedDict, total=False):
|
|
2323
|
+
text: NotRequired["PlotTextStyleOptions"]
|
|
2324
|
+
backgroundColor: NotRequired["str"]
|
|
2325
|
+
borderColor: NotRequired["str"]
|
|
2326
|
+
borderWidth: NotRequired["float | int"]
|
|
2327
|
+
borderRadius: NotRequired["float | int"]
|
|
2328
|
+
padding: NotRequired["float | int"]
|
|
2329
|
+
|
|
2330
|
+
class WonderplotColorScaleOptions(TypedDict, total=False):
|
|
2331
|
+
valueScale: NotRequired["ColorValueScale"]
|
|
2332
|
+
lowColor: NotRequired["str"]
|
|
2333
|
+
highColor: NotRequired["str"]
|
|
2334
|
+
colorStops: NotRequired["list[ColorScaleStop]"]
|
|
2335
|
+
minValue: NotRequired["float | int"]
|
|
2336
|
+
maxValue: NotRequired["float | int"]
|
|
2337
|
+
|
|
2338
|
+
class WonderplotColorScaleLegend(TypedDict, total=False):
|
|
2339
|
+
valueScale: NotRequired["ColorValueScale"]
|
|
2340
|
+
position: Required["ColorScaleLegendPosition"]
|
|
2341
|
+
x: Required["float | int"]
|
|
2342
|
+
y: Required["float | int"]
|
|
2343
|
+
width: Required["float | int"]
|
|
2344
|
+
height: Required["float | int"]
|
|
2345
|
+
minValue: Required["float | int"]
|
|
2346
|
+
maxValue: Required["float | int"]
|
|
2347
|
+
lowColor: Required["str"]
|
|
2348
|
+
highColor: Required["str"]
|
|
2349
|
+
colorStops: NotRequired["list[ColorScaleStop]"]
|
|
2350
|
+
title: NotRequired["str"]
|
|
2351
|
+
ticks: Required["list[WonderplotColorScaleLegendTick]"]
|
|
2352
|
+
tickSize: Required["float | int"]
|
|
2353
|
+
labelGap: Required["float | int"]
|
|
2354
|
+
color: Required["str"]
|
|
2355
|
+
labelPrefix: Required["str"]
|
|
2356
|
+
labelSuffix: Required["str"]
|
|
2357
|
+
font: Required["str"]
|
|
2358
|
+
lineHeight: Required["float | int"]
|
|
2359
|
+
titleGap: Required["float | int"]
|
|
2360
|
+
borderColor: Required["str"]
|
|
2361
|
+
borderWidth: Required["float | int"]
|
|
2362
|
+
|
|
2363
|
+
class WonderplotColorScaleLegendOptions(TypedDict, total=False):
|
|
2364
|
+
show: NotRequired["bool"]
|
|
2365
|
+
position: NotRequired["ColorScaleLegendPosition"]
|
|
2366
|
+
title: NotRequired["str"]
|
|
2367
|
+
width: NotRequired["float | int"]
|
|
2368
|
+
height: NotRequired["float | int"]
|
|
2369
|
+
offset: NotRequired["float | int"]
|
|
2370
|
+
tickCount: NotRequired["float | int"]
|
|
2371
|
+
tickValues: NotRequired["list[float | int]"]
|
|
2372
|
+
tickSize: NotRequired["float | int"]
|
|
2373
|
+
labelGap: NotRequired["float | int"]
|
|
2374
|
+
labelPrefix: NotRequired["str"]
|
|
2375
|
+
labelSuffix: NotRequired["str"]
|
|
2376
|
+
decimals: NotRequired["float | int"]
|
|
2377
|
+
color: NotRequired["str"]
|
|
2378
|
+
font: NotRequired["str"]
|
|
2379
|
+
lineHeight: NotRequired["float | int"]
|
|
2380
|
+
titleGap: NotRequired["float | int"]
|
|
2381
|
+
borderColor: NotRequired["str"]
|
|
2382
|
+
borderWidth: NotRequired["float | int"]
|
|
2383
|
+
|
|
2384
|
+
class WonderplotColorScaleLegendTick(TypedDict, total=False):
|
|
2385
|
+
value: Required["float | int"]
|
|
2386
|
+
text: Required["str"]
|
|
2387
|
+
x: NotRequired["float | int"]
|
|
2388
|
+
y: Required["float | int"]
|
|
2389
|
+
|
|
2390
|
+
class WonderplotMarkerLabel(TypedDict, total=False):
|
|
2391
|
+
x: Required["float | int"]
|
|
2392
|
+
y: Required["float | int"]
|
|
2393
|
+
value: Required["float | int"]
|
|
2394
|
+
text: Required["str"]
|
|
2395
|
+
color: Required["str"]
|
|
2396
|
+
font: Required["str"]
|
|
2397
|
+
lineHeight: NotRequired["float | int"]
|
|
2398
|
+
sourceIndex: Required["float | int"]
|
|
2399
|
+
collisionPadding: NotRequired["float | int"]
|
|
2400
|
+
|
|
2401
|
+
class WonderplotMarkerLabelFormatterArgs(TypedDict, total=False):
|
|
2402
|
+
value: Required["float | int"]
|
|
2403
|
+
defaultLabel: Required["str"]
|
|
2404
|
+
x: Required["ScalarInput"]
|
|
2405
|
+
y: Required["ScalarInput"]
|
|
2406
|
+
traceIndex: Required["float | int"]
|
|
2407
|
+
sourceIndex: Required["float | int"]
|
|
2408
|
+
|
|
2409
|
+
class WonderplotMarkerLabelOptions(TypedDict, total=False):
|
|
2410
|
+
show: NotRequired["bool"]
|
|
2411
|
+
color: NotRequired["str"]
|
|
2412
|
+
font: NotRequired["str"]
|
|
2413
|
+
lineHeight: NotRequired["float | int"]
|
|
2414
|
+
decimals: NotRequired["float | int"]
|
|
2415
|
+
prefix: NotRequired["str"]
|
|
2416
|
+
suffix: NotRequired["str"]
|
|
2417
|
+
offsetY: NotRequired["float | int"]
|
|
2418
|
+
collisionPadding: NotRequired["float | int"]
|
|
2419
|
+
formatter: NotRequired["WonderplotMarkerLabelFormatter"]
|
|
2420
|
+
|
|
2421
|
+
class WonderplotOptions(TypedDict, total=False):
|
|
2422
|
+
markerSize: NotRequired["float | int"]
|
|
2423
|
+
markerOpacity: NotRequired["float | int"]
|
|
2424
|
+
markerShape: NotRequired["MarkerShape"]
|
|
2425
|
+
colorScale: NotRequired["WonderplotColorScaleOptions"]
|
|
2426
|
+
sizeScale: NotRequired["WonderplotSizeScaleOptions | bool"]
|
|
2427
|
+
opacityScale: NotRequired["WonderplotOpacityScaleOptions | bool"]
|
|
2428
|
+
markerLabels: NotRequired["WonderplotMarkerLabelOptions | bool"]
|
|
2429
|
+
colorScaleLegend: NotRequired["WonderplotColorScaleLegendOptions | bool"]
|
|
2430
|
+
borderColor: NotRequired["str"]
|
|
2431
|
+
borderWidth: NotRequired["float | int"]
|
|
2432
|
+
|
|
2433
|
+
class WonderplotTraceOptions(TypedDict, total=False):
|
|
2434
|
+
markerSize: NotRequired["float | int"]
|
|
2435
|
+
markerOpacity: NotRequired["float | int"]
|
|
2436
|
+
markerShape: NotRequired["MarkerShape"]
|
|
2437
|
+
markerLabels: NotRequired["WonderplotMarkerLabelOptions | bool"]
|
|
2438
|
+
borderColor: NotRequired["str"]
|
|
2439
|
+
borderWidth: NotRequired["float | int"]
|
|
2440
|
+
|
|
2441
|
+
class WonderplotSizeScaleOptions(TypedDict, total=False):
|
|
2442
|
+
enabled: NotRequired["bool"]
|
|
2443
|
+
minSize: NotRequired["float | int"]
|
|
2444
|
+
maxSize: NotRequired["float | int"]
|
|
2445
|
+
minValue: NotRequired["float | int"]
|
|
2446
|
+
maxValue: NotRequired["float | int"]
|
|
2447
|
+
|
|
2448
|
+
class WonderplotOpacityScaleOptions(TypedDict, total=False):
|
|
2449
|
+
enabled: NotRequired["bool"]
|
|
2450
|
+
minOpacity: NotRequired["float | int"]
|
|
2451
|
+
maxOpacity: NotRequired["float | int"]
|
|
2452
|
+
minValue: NotRequired["float | int"]
|
|
2453
|
+
maxValue: NotRequired["float | int"]
|
|
2454
|
+
|
|
2455
|
+
class WonderPoint(TypedDict, total=False):
|
|
2456
|
+
x: Required["float | int"]
|
|
2457
|
+
y: Required["float | int"]
|
|
2458
|
+
value: Required["float | int"]
|
|
2459
|
+
sourceIndex: Required["float | int"]
|
|
2460
|
+
size: Required["float | int"]
|
|
2461
|
+
sizeValue: NotRequired["float | int"]
|
|
2462
|
+
opacity: Required["float | int"]
|
|
2463
|
+
opacityValue: NotRequired["float | int"]
|
|
2464
|
+
fillColor: Required["str"]
|
|
2465
|
+
|
|
2466
|
+
class LineAxisLayoutDiagnostics(TypedDict, total=False):
|
|
2467
|
+
source: Required["Literal[\"node\", \"wasm\", \"ts-fallback\", \"default\", \"none\"]"]
|
|
2468
|
+
rustSource: Required["Literal[\"node\"] | Literal[\"wasm\"] | None"]
|
|
2469
|
+
fallbackX: Required["bool"]
|
|
2470
|
+
fallbackY: Required["bool"]
|
|
2471
|
+
xMajor: Required["float | int"]
|
|
2472
|
+
xMinor: Required["float | int"]
|
|
2473
|
+
yMajor: Required["float | int"]
|
|
2474
|
+
yMinor: Required["float | int"]
|
|
2475
|
+
reason: NotRequired["str"]
|
|
2476
|
+
|
|
2477
|
+
class WasmPlotEngineStatus(TypedDict, total=False):
|
|
2478
|
+
initialized: Required["bool"]
|
|
2479
|
+
lineScene: Required["bool"]
|
|
2480
|
+
lineSceneWithDomain: Required["bool"]
|
|
2481
|
+
lineAxisLayout: Required["bool"]
|
|
2482
|
+
barScene: Required["bool"]
|
|
2483
|
+
heatmapScene: Required["bool"]
|
|
2484
|
+
wonderplotScene: Required["bool"]
|
|
2485
|
+
polarScene: Required["bool"]
|
|
2486
|
+
subplotLayout: Required["bool"]
|
|
2487
|
+
subplotAxisLabelVisibility: Required["bool"]
|
|
2488
|
+
lastError: Required["Any"]
|
|
2489
|
+
|
|
2490
|
+
class PlotRenderOptions(TypedDict, total=False):
|
|
2491
|
+
data: NotRequired["list[DataPoint]"]
|
|
2492
|
+
traces: NotRequired["list[TraceInput]"]
|
|
2493
|
+
type: Required["Literal[\"line\", \"bar\", \"polar\", \"heatmap\", \"wonderplot\", \"pie\", \"pie3d\", \"scatter3d\", \"line3d\", \"surface\", \"mesh3d\"]"]
|
|
2494
|
+
canvas: NotRequired["CanvasQualityOptions"]
|
|
2495
|
+
style: NotRequired["PlotStyleOptions"]
|
|
2496
|
+
title: NotRequired["str"]
|
|
2497
|
+
subtitle: NotRequired["str"]
|
|
2498
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
2499
|
+
subtitleStyle: NotRequired["PlotTextStyleOptions"]
|
|
2500
|
+
backgroundColor: NotRequired["str"]
|
|
2501
|
+
plotAreaBackgroundColor: NotRequired["str"]
|
|
2502
|
+
engine: NotRequired["PlotEngineMode"]
|
|
2503
|
+
lineStyle: NotRequired["TraceLineStyleOptions"]
|
|
2504
|
+
areaFill: NotRequired["LineAreaFillOptions | bool"]
|
|
2505
|
+
markers: NotRequired["MarkerOptions | bool"]
|
|
2506
|
+
pointLabels: NotRequired["LinePointLabelOptions | bool"]
|
|
2507
|
+
errorBars: NotRequired["CartesianErrorBarOptions | bool"]
|
|
2508
|
+
bar: NotRequired["BarOptions"]
|
|
2509
|
+
polar: NotRequired["PolarOptions"]
|
|
2510
|
+
pie: NotRequired["PieOptions"]
|
|
2511
|
+
pie3d: NotRequired["Pie3dOptions"]
|
|
2512
|
+
heatmap: NotRequired["HeatmapOptions"]
|
|
2513
|
+
wonderplot: NotRequired["WonderplotOptions"]
|
|
2514
|
+
scene3d: NotRequired["Scene3dOptions"]
|
|
2515
|
+
scatter3d: NotRequired["Scatter3dOptions"]
|
|
2516
|
+
line3d: NotRequired["Line3dOptions"]
|
|
2517
|
+
surface: NotRequired["SurfaceOptions"]
|
|
2518
|
+
mesh3d: NotRequired["Mesh3dOptions"]
|
|
2519
|
+
references: NotRequired["CartesianReferenceOptions"]
|
|
2520
|
+
trendline: NotRequired["TraceTrendlineOptions | bool"]
|
|
2521
|
+
connectGaps: NotRequired["bool"]
|
|
2522
|
+
axes: NotRequired["LineAxesOptions"]
|
|
2523
|
+
subplots: NotRequired["SubplotsOptions"]
|
|
2524
|
+
viewport: NotRequired["AxisViewportState"]
|
|
2525
|
+
margin: NotRequired["MarginOptions"]
|
|
2526
|
+
legend: NotRequired["LegendOptions | bool"]
|
|
2527
|
+
|
|
2528
|
+
class ChartZoomStartEvent(TypedDict, total=False):
|
|
2529
|
+
type: Required["Literal[\"zoomStart\"]"]
|
|
2530
|
+
source: Required["ChartZoomSource"]
|
|
2531
|
+
mode: Required["AxisInteractionMode"]
|
|
2532
|
+
activeSubplotId: Required["str"]
|
|
2533
|
+
viewportBefore: Required["AxisViewportState | None"]
|
|
2534
|
+
pointer: NotRequired["ChartZoomPointer"]
|
|
2535
|
+
selection: NotRequired["ChartZoomSelection"]
|
|
2536
|
+
|
|
2537
|
+
class ResolvedChartTooltipOptions(TypedDict, total=False):
|
|
2538
|
+
enabled: Required["bool"]
|
|
2539
|
+
mode: Required["ChartTooltipMode"]
|
|
2540
|
+
lineMode: Required["ChartTooltipLineMode"]
|
|
2541
|
+
shared: Required["bool"]
|
|
2542
|
+
sharedXMode: Required["ChartTooltipSharedXMode"]
|
|
2543
|
+
radius: Required["float | int"]
|
|
2544
|
+
style: Required["ChartTooltipStyle"]
|
|
2545
|
+
formatter: NotRequired["ChartTooltipFormatter"]
|
|
2546
|
+
|
|
2547
|
+
class ResolvedChartCrosshairOptions(TypedDict, total=False):
|
|
2548
|
+
enabled: Required["bool"]
|
|
2549
|
+
mode: Required["ChartCrosshairMode"]
|
|
2550
|
+
snap: Required["ChartCrosshairSnap"]
|
|
2551
|
+
style: Required["ChartCrosshairStyleOptions"]
|
|
2552
|
+
label: Required["Mapping[str, Any]"]
|
|
2553
|
+
|
|
2554
|
+
class ResizeObserverLike(TypedDict, total=False):
|
|
2555
|
+
pass
|
|
2556
|
+
|
|
2557
|
+
class TooltipCandidate(TypedDict, total=False):
|
|
2558
|
+
activeSubplotId: Required["str"]
|
|
2559
|
+
traceIndex: Required["float | int"]
|
|
2560
|
+
traceName: NotRequired["str"]
|
|
2561
|
+
traceColor: NotRequired["str"]
|
|
2562
|
+
pointIndex: Required["float | int"]
|
|
2563
|
+
xAxisId: Required["str"]
|
|
2564
|
+
yAxisId: Required["str"]
|
|
2565
|
+
x: Required["float | int"]
|
|
2566
|
+
y: Required["float | int"]
|
|
2567
|
+
xValue: Required["float | int"]
|
|
2568
|
+
yValue: Required["float | int"]
|
|
2569
|
+
xCategory: NotRequired["str"]
|
|
2570
|
+
yCategory: NotRequired["str"]
|
|
2571
|
+
rawX: Required["ScalarInput"]
|
|
2572
|
+
rawY: Required["ScalarInput"]
|
|
2573
|
+
rawValue: NotRequired["ScalarInput | None"]
|
|
2574
|
+
rawZ: NotRequired["ScalarInput | None"]
|
|
2575
|
+
colorValue: NotRequired["float | int"]
|
|
2576
|
+
renderedColor: NotRequired["str"]
|
|
2577
|
+
rawSize: NotRequired["float | int | None"]
|
|
2578
|
+
sizeValue: NotRequired["float | int"]
|
|
2579
|
+
radius: NotRequired["float | int"]
|
|
2580
|
+
rawOpacity: NotRequired["float | int | None"]
|
|
2581
|
+
opacityValue: NotRequired["float | int"]
|
|
2582
|
+
renderedOpacity: NotRequired["float | int"]
|
|
2583
|
+
normalizedValue: NotRequired["float | int"]
|
|
2584
|
+
baseline: NotRequired["float | int"]
|
|
2585
|
+
depth: NotRequired["float | int"]
|
|
2586
|
+
programmaticTarget: NotRequired["bool"]
|
|
2587
|
+
lineSegment: NotRequired["TooltipCandidateLineSegment"]
|
|
2588
|
+
bounds: NotRequired["PlotBounds"]
|
|
2589
|
+
roundedRectRadius: NotRequired["float | int"]
|
|
2590
|
+
strictBounds: NotRequired["bool"]
|
|
2591
|
+
polarSector: NotRequired["TooltipCandidatePolarSector"]
|
|
2592
|
+
|
|
2593
|
+
class TooltipCandidateLineSegment(TypedDict, total=False):
|
|
2594
|
+
startX: Required["float | int"]
|
|
2595
|
+
startY: Required["float | int"]
|
|
2596
|
+
endX: Required["float | int"]
|
|
2597
|
+
endY: Required["float | int"]
|
|
2598
|
+
endCandidate: Required["TooltipCandidate"]
|
|
2599
|
+
|
|
2600
|
+
class TooltipCandidatePolarSector(TypedDict, total=False):
|
|
2601
|
+
centerX: Required["float | int"]
|
|
2602
|
+
centerY: Required["float | int"]
|
|
2603
|
+
innerRadius: Required["float | int"]
|
|
2604
|
+
outerRadius: Required["float | int"]
|
|
2605
|
+
startAngle: Required["float | int"]
|
|
2606
|
+
endAngle: Required["float | int"]
|
|
2607
|
+
sweep: NotRequired["float | int"]
|
|
2608
|
+
|
|
2609
|
+
class ResolvedTooltipIndexes(TypedDict, total=False):
|
|
2610
|
+
tooltip: Required["TooltipIndex"]
|
|
2611
|
+
linePoints: Required["TooltipIndex"]
|
|
2612
|
+
|
|
2613
|
+
class PointSelectionGeometry(TypedDict, total=False):
|
|
2614
|
+
activeSubplotId: Required["str"]
|
|
2615
|
+
traceIndex: Required["float | int"]
|
|
2616
|
+
pointIndex: Required["float | int"]
|
|
2617
|
+
x: Required["float | int"]
|
|
2618
|
+
y: Required["float | int"]
|
|
2619
|
+
radius: NotRequired["float | int"]
|
|
2620
|
+
programmaticTarget: NotRequired["bool"]
|
|
2621
|
+
bounds: NotRequired["PlotBounds"]
|
|
2622
|
+
roundedRectRadius: NotRequired["float | int"]
|
|
2623
|
+
polarSector: NotRequired["PointSelectionGeometryPolarSector"]
|
|
2624
|
+
|
|
2625
|
+
class PointSelectionGeometryPolarSector(TypedDict, total=False):
|
|
2626
|
+
centerX: Required["float | int"]
|
|
2627
|
+
centerY: Required["float | int"]
|
|
2628
|
+
innerRadius: Required["float | int"]
|
|
2629
|
+
outerRadius: Required["float | int"]
|
|
2630
|
+
startAngle: Required["float | int"]
|
|
2631
|
+
endAngle: Required["float | int"]
|
|
2632
|
+
sweep: NotRequired["float | int"]
|
|
2633
|
+
|
|
2634
|
+
class PieDatumLike(TypedDict, total=False):
|
|
2635
|
+
label: NotRequired["str"]
|
|
2636
|
+
value: NotRequired["ScalarInput | None"]
|
|
2637
|
+
y: NotRequired["ScalarInput | None"]
|
|
2638
|
+
x: NotRequired["ScalarInput | None"]
|
|
2639
|
+
|
|
2640
|
+
class AxisViewportPatch(TypedDict, total=False):
|
|
2641
|
+
xAxes: Required["dict[str, AxisViewportRange]"]
|
|
2642
|
+
yAxes: Required["dict[str, AxisViewportRange]"]
|
|
2643
|
+
resetXAxes: NotRequired["list[str]"]
|
|
2644
|
+
resetYAxes: NotRequired["list[str]"]
|
|
2645
|
+
|
|
2646
|
+
class InteractionBindingInput(TypedDict, total=False):
|
|
2647
|
+
subplotId: Required["str"]
|
|
2648
|
+
xAxisId: Required["str"]
|
|
2649
|
+
yAxisId: Required["str"]
|
|
2650
|
+
|
|
2651
|
+
class SharedAxisInteractionOptions(TypedDict, total=False):
|
|
2652
|
+
bindings: Required["list[InteractionBindingInput]"]
|
|
2653
|
+
activeSubplotId: Required["str"]
|
|
2654
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
2655
|
+
xRange: NotRequired["AxisViewportRange"]
|
|
2656
|
+
yRange: NotRequired["AxisViewportRange"]
|
|
2657
|
+
|
|
2658
|
+
class AxisViewportGroupMember(TypedDict, total=False):
|
|
2659
|
+
axisId: Required["str"]
|
|
2660
|
+
axis: Required["LineAxisOptions"]
|
|
2661
|
+
|
|
2662
|
+
class AxisZoomInteractionOptions(TypedDict, total=False):
|
|
2663
|
+
options: Required["PlotOptions"]
|
|
2664
|
+
activeSubplotId: Required["str"]
|
|
2665
|
+
xRatio: Required["float | int"]
|
|
2666
|
+
yRatio: Required["float | int"]
|
|
2667
|
+
scale: Required["float | int"]
|
|
2668
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
2669
|
+
|
|
2670
|
+
class AxisBoxZoomInteractionOptions(TypedDict, total=False):
|
|
2671
|
+
options: Required["PlotOptions"]
|
|
2672
|
+
activeSubplotId: Required["str"]
|
|
2673
|
+
xStartRatio: Required["float | int"]
|
|
2674
|
+
xEndRatio: Required["float | int"]
|
|
2675
|
+
yStartRatio: Required["float | int"]
|
|
2676
|
+
yEndRatio: Required["float | int"]
|
|
2677
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
2678
|
+
|
|
2679
|
+
class AxisPanInteractionOptions(TypedDict, total=False):
|
|
2680
|
+
options: Required["PlotOptions"]
|
|
2681
|
+
activeSubplotId: Required["str"]
|
|
2682
|
+
xRatio: Required["float | int"]
|
|
2683
|
+
yRatio: Required["float | int"]
|
|
2684
|
+
mode: NotRequired["AxisInteractionMode"]
|
|
2685
|
+
|
|
2686
|
+
class ResolvedMargin(TypedDict, total=False):
|
|
2687
|
+
left: Required["float | int"]
|
|
2688
|
+
right: Required["float | int"]
|
|
2689
|
+
top: Required["float | int"]
|
|
2690
|
+
bottom: Required["float | int"]
|
|
2691
|
+
|
|
2692
|
+
class ResolvedAxisPaddingPercent(TypedDict, total=False):
|
|
2693
|
+
start: Required["float | int"]
|
|
2694
|
+
end: Required["float | int"]
|
|
2695
|
+
|
|
2696
|
+
class ResolvedAxisSides(TypedDict, total=False):
|
|
2697
|
+
x: Required["XAxisSide"]
|
|
2698
|
+
y: Required["YAxisSide"]
|
|
2699
|
+
|
|
2700
|
+
class ResolvedPlotTextStyle(TypedDict, total=False):
|
|
2701
|
+
font: Required["str"]
|
|
2702
|
+
color: Required["str"]
|
|
2703
|
+
lineHeight: Required["float | int"]
|
|
2704
|
+
|
|
2705
|
+
class ResolvedLegendStyle(TypedDict, total=False):
|
|
2706
|
+
text: Required["ResolvedPlotTextStyle"]
|
|
2707
|
+
groupTitle: Required["ResolvedPlotTextStyle"]
|
|
2708
|
+
backgroundColor: Required["str"]
|
|
2709
|
+
borderColor: Required["str"]
|
|
2710
|
+
borderWidth: Required["float | int"]
|
|
2711
|
+
padding: Required["float | int"]
|
|
2712
|
+
|
|
2713
|
+
class ResolvedTooltipStyle(TypedDict, total=False):
|
|
2714
|
+
text: Required["ResolvedPlotTextStyle"]
|
|
2715
|
+
backgroundColor: Required["str"]
|
|
2716
|
+
borderColor: Required["str"]
|
|
2717
|
+
borderWidth: Required["float | int"]
|
|
2718
|
+
borderRadius: Required["float | int"]
|
|
2719
|
+
padding: Required["float | int"]
|
|
2720
|
+
|
|
2721
|
+
class RgbColor(TypedDict, total=False):
|
|
2722
|
+
r: Required["float | int"]
|
|
2723
|
+
g: Required["float | int"]
|
|
2724
|
+
b: Required["float | int"]
|
|
2725
|
+
|
|
2726
|
+
class AxisBounds(TypedDict, total=False):
|
|
2727
|
+
left: Required["float | int"]
|
|
2728
|
+
top: Required["float | int"]
|
|
2729
|
+
right: Required["float | int"]
|
|
2730
|
+
bottom: Required["float | int"]
|
|
2731
|
+
|
|
2732
|
+
class AxisLabelInsets(TypedDict, total=False):
|
|
2733
|
+
left: Required["float | int"]
|
|
2734
|
+
right: Required["float | int"]
|
|
2735
|
+
top: Required["float | int"]
|
|
2736
|
+
bottom: Required["float | int"]
|
|
2737
|
+
|
|
2738
|
+
class AxisLabelVisibility(TypedDict, total=False):
|
|
2739
|
+
x: NotRequired["dict[str, bool]"]
|
|
2740
|
+
y: NotRequired["dict[str, bool]"]
|
|
2741
|
+
|
|
2742
|
+
class AxisTick(TypedDict, total=False):
|
|
2743
|
+
position: Required["float | int"]
|
|
2744
|
+
value: Required["float | int"]
|
|
2745
|
+
label_value: NotRequired["float | int"]
|
|
2746
|
+
label: NotRequired["str"]
|
|
2747
|
+
is_major: NotRequired["bool"]
|
|
2748
|
+
is_minor: NotRequired["bool"]
|
|
2749
|
+
|
|
2750
|
+
class LineAxisLayout(TypedDict, total=False):
|
|
2751
|
+
x_ticks: Required["list[AxisTick]"]
|
|
2752
|
+
y_ticks: Required["list[AxisTick]"]
|
|
2753
|
+
|
|
2754
|
+
class RustAxisLayoutResult(TypedDict, total=False):
|
|
2755
|
+
layout: Required["LineAxisLayout | None"]
|
|
2756
|
+
source: Required["Literal[\"node\"] | Literal[\"wasm\"] | None"]
|
|
2757
|
+
reason: NotRequired["str"]
|
|
2758
|
+
|
|
2759
|
+
class AxisUsage(TypedDict, total=False):
|
|
2760
|
+
x: Required["list[AxisUsageX]"]
|
|
2761
|
+
y: Required["list[AxisUsageY]"]
|
|
2762
|
+
|
|
2763
|
+
class AxisUsageX(TypedDict, total=False):
|
|
2764
|
+
id: Required["str"]
|
|
2765
|
+
axis: Required["AxisUsageXAxis"]
|
|
2766
|
+
|
|
2767
|
+
class AxisUsageXAxis(TypedDict, total=False):
|
|
2768
|
+
show: NotRequired["bool"]
|
|
2769
|
+
labelStyle: NotRequired["AxisLabelStyleOptions"]
|
|
2770
|
+
lineStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
2771
|
+
gridStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
2772
|
+
title: NotRequired["str"]
|
|
2773
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
2774
|
+
viewportGroup: NotRequired["str"]
|
|
2775
|
+
ticks: NotRequired["float | int"]
|
|
2776
|
+
tickLength: NotRequired["float | int"]
|
|
2777
|
+
tickDirection: NotRequired["AxisTickDirection"]
|
|
2778
|
+
tickValues: NotRequired["list[ScalarInput]"]
|
|
2779
|
+
labelPrefix: NotRequired["str"]
|
|
2780
|
+
labelSuffix: NotRequired["str"]
|
|
2781
|
+
labelRotationDegrees: NotRequired["float | int"]
|
|
2782
|
+
labelCollision: NotRequired["Literal[\"allow\", \"hide\"]"]
|
|
2783
|
+
labelFormatter: NotRequired["AxisLabelFormatter"]
|
|
2784
|
+
range: NotRequired["AxisUsageXAxisRange"]
|
|
2785
|
+
grid: NotRequired["bool"]
|
|
2786
|
+
minor: NotRequired["AxisUsageXAxisMinor"]
|
|
2787
|
+
minorLogLabels: NotRequired["Literal[\"small\", \"complete\", \"none\"]"]
|
|
2788
|
+
decimals: NotRequired["float | int"]
|
|
2789
|
+
scale: NotRequired["Literal[\"linear\", \"logarithmic\", \"datetime\"]"]
|
|
2790
|
+
categories: NotRequired["list[str]"]
|
|
2791
|
+
dateTime: NotRequired["AxisUsageXAxisDateTime"]
|
|
2792
|
+
padding: NotRequired["AxisPaddingPercent | float | int"]
|
|
2793
|
+
side: NotRequired["Literal[\"top\", \"bottom\"]"]
|
|
2794
|
+
|
|
2795
|
+
class AxisUsageXAxisRange(TypedDict, total=False):
|
|
2796
|
+
min: Required["ScalarInput"]
|
|
2797
|
+
max: Required["ScalarInput"]
|
|
2798
|
+
|
|
2799
|
+
class AxisUsageXAxisMinor(TypedDict, total=False):
|
|
2800
|
+
show: NotRequired["bool"]
|
|
2801
|
+
ticks: NotRequired["Literal[\"inside\", \"outside\"]"]
|
|
2802
|
+
ticklen: NotRequired["float | int"]
|
|
2803
|
+
grid: NotRequired["bool"]
|
|
2804
|
+
|
|
2805
|
+
class AxisUsageXAxisDateTime(TypedDict, total=False):
|
|
2806
|
+
timeZone: NotRequired["Literal[\"browser\"] | Literal[\"utc\"] | str"]
|
|
2807
|
+
format: NotRequired["Mapping[str, str | bool | int]"]
|
|
2808
|
+
|
|
2809
|
+
class AxisUsageY(TypedDict, total=False):
|
|
2810
|
+
id: Required["str"]
|
|
2811
|
+
axis: Required["AxisUsageYAxis"]
|
|
2812
|
+
|
|
2813
|
+
class AxisUsageYAxis(TypedDict, total=False):
|
|
2814
|
+
show: NotRequired["bool"]
|
|
2815
|
+
labelStyle: NotRequired["AxisLabelStyleOptions"]
|
|
2816
|
+
lineStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
2817
|
+
gridStyle: NotRequired["AxisStrokeStyleOptions"]
|
|
2818
|
+
title: NotRequired["str"]
|
|
2819
|
+
titleStyle: NotRequired["PlotTextStyleOptions"]
|
|
2820
|
+
viewportGroup: NotRequired["str"]
|
|
2821
|
+
ticks: NotRequired["float | int"]
|
|
2822
|
+
tickLength: NotRequired["float | int"]
|
|
2823
|
+
tickDirection: NotRequired["AxisTickDirection"]
|
|
2824
|
+
tickValues: NotRequired["list[ScalarInput]"]
|
|
2825
|
+
labelPrefix: NotRequired["str"]
|
|
2826
|
+
labelSuffix: NotRequired["str"]
|
|
2827
|
+
labelRotationDegrees: NotRequired["float | int"]
|
|
2828
|
+
labelCollision: NotRequired["Literal[\"allow\", \"hide\"]"]
|
|
2829
|
+
labelFormatter: NotRequired["AxisLabelFormatter"]
|
|
2830
|
+
range: NotRequired["AxisUsageYAxisRange"]
|
|
2831
|
+
grid: NotRequired["bool"]
|
|
2832
|
+
minor: NotRequired["AxisUsageYAxisMinor"]
|
|
2833
|
+
minorLogLabels: NotRequired["Literal[\"small\", \"complete\", \"none\"]"]
|
|
2834
|
+
decimals: NotRequired["float | int"]
|
|
2835
|
+
scale: NotRequired["Literal[\"linear\", \"logarithmic\", \"datetime\"]"]
|
|
2836
|
+
categories: NotRequired["list[str]"]
|
|
2837
|
+
dateTime: NotRequired["AxisUsageYAxisDateTime"]
|
|
2838
|
+
padding: NotRequired["AxisPaddingPercent | float | int"]
|
|
2839
|
+
side: NotRequired["Literal[\"left\", \"right\"]"]
|
|
2840
|
+
|
|
2841
|
+
class AxisUsageYAxisRange(TypedDict, total=False):
|
|
2842
|
+
min: Required["ScalarInput"]
|
|
2843
|
+
max: Required["ScalarInput"]
|
|
2844
|
+
|
|
2845
|
+
class AxisUsageYAxisMinor(TypedDict, total=False):
|
|
2846
|
+
show: NotRequired["bool"]
|
|
2847
|
+
ticks: NotRequired["Literal[\"inside\", \"outside\"]"]
|
|
2848
|
+
ticklen: NotRequired["float | int"]
|
|
2849
|
+
grid: NotRequired["bool"]
|
|
2850
|
+
|
|
2851
|
+
class AxisUsageYAxisDateTime(TypedDict, total=False):
|
|
2852
|
+
timeZone: NotRequired["Literal[\"browser\"] | Literal[\"utc\"] | str"]
|
|
2853
|
+
format: NotRequired["Mapping[str, str | bool | int]"]
|
|
2854
|
+
|
|
2855
|
+
class ResolvedAxes(TypedDict, total=False):
|
|
2856
|
+
show: Required["bool"]
|
|
2857
|
+
labelStyle: Required["ResolvedAxisLabelStyle"]
|
|
2858
|
+
lineStyle: Required["ResolvedAxisStrokeStyle"]
|
|
2859
|
+
gridStyle: Required["ResolvedAxisStrokeStyle"]
|
|
2860
|
+
x: Required["Mapping[str, Any]"]
|
|
2861
|
+
y: Required["Mapping[str, Any]"]
|
|
2862
|
+
|
|
2863
|
+
class ResolvedAxisLabelStyle(TypedDict, total=False):
|
|
2864
|
+
font: Required["str"]
|
|
2865
|
+
color: Required["str"]
|
|
2866
|
+
lineHeight: Required["float | int"]
|
|
2867
|
+
|
|
2868
|
+
class ResolvedAxisStrokeStyle(TypedDict, total=False):
|
|
2869
|
+
color: Required["str"]
|
|
2870
|
+
lineWidth: Required["float | int"]
|
|
2871
|
+
|
|
2872
|
+
class ResolvedAxisTitleStyle(TypedDict, total=False):
|
|
2873
|
+
font: Required["str"]
|
|
2874
|
+
color: Required["str"]
|
|
2875
|
+
lineHeight: Required["float | int"]
|
|
2876
|
+
|
|
2877
|
+
class WasmRuntimeModule(TypedDict, total=False):
|
|
2878
|
+
default: NotRequired["Callable[..., Awaitable[Any]]"]
|
|
2879
|
+
build_line_scene_wasm: NotRequired["WasmSceneBuilder"]
|
|
2880
|
+
build_line_scene_with_domain_wasm: NotRequired["WasmSceneWithDomainBuilder"]
|
|
2881
|
+
build_line_axis_layout_wasm: NotRequired["WasmAxisLayoutBuilder"]
|
|
2882
|
+
build_bar_scene_wasm: NotRequired["WasmBarSceneBuilder"]
|
|
2883
|
+
build_heatmap_scene_wasm: NotRequired["WasmHeatmapSceneBuilder"]
|
|
2884
|
+
build_wonderplot_scene_wasm: NotRequired["WasmWonderplotSceneBuilder"]
|
|
2885
|
+
build_polar_scene_wasm: NotRequired["WasmPolarSceneBuilder"]
|
|
2886
|
+
build_subplot_layout_wasm: NotRequired["WasmSubplotLayoutBuilder"]
|
|
2887
|
+
build_subplot_axis_label_visibility_wasm: NotRequired["WasmSubplotAxisLabelVisibilityBuilder"]
|
|
2888
|
+
|
|
2889
|
+
class Scene3dWebgl2ResourceStats(TypedDict, total=False):
|
|
2890
|
+
generation: Required["float | int"]
|
|
2891
|
+
contextAvailable: Required["bool"]
|
|
2892
|
+
contextLost: Required["bool"]
|
|
2893
|
+
destroyed: Required["bool"]
|
|
2894
|
+
geometryBufferCapacityBytes: Required["float | int"]
|
|
2895
|
+
markerBufferCapacityBytes: Required["float | int"]
|
|
2896
|
+
totalBufferCapacityBytes: Required["float | int"]
|
|
2897
|
+
transientBufferBytes: Required["float | int"]
|
|
2898
|
+
lastFrameUploadedBytes: Required["float | int"]
|
|
2899
|
+
lastFrameVertexCount: Required["float | int"]
|
|
2900
|
+
lastFrameMarkerCount: Required["float | int"]
|
|
2901
|
+
lastFrameDrawCalls: Required["float | int"]
|
|
2902
|
+
|
|
2903
|
+
class Scene3dWebgl2PreparedFrame(TypedDict, total=False):
|
|
2904
|
+
canvas: Required["Any"]
|
|
2905
|
+
diagnostics: Required["Scene3dRendererDiagnostics"]
|
|
2906
|
+
resourceStats: Required["Scene3dWebgl2ResourceStats"]
|
|
2907
|
+
|
|
2908
|
+
class Scene3dWebgl2ContextStateChange(TypedDict, total=False):
|
|
2909
|
+
type: Required["Literal[\"lost\", \"restored\", \"restore-failed\"]"]
|
|
2910
|
+
generation: Required["float | int"]
|
|
2911
|
+
error: NotRequired["Exception"]
|
|
2912
|
+
|
|
2913
|
+
class Scene3dWebgl2Controller(TypedDict, total=False):
|
|
2914
|
+
pass
|
|
2915
|
+
|
|
2916
|
+
class GlResources(TypedDict, total=False):
|
|
2917
|
+
geometryProgram: Required["Any"]
|
|
2918
|
+
geometryResolution: Required["Any"]
|
|
2919
|
+
geometryVao: Required["Any"]
|
|
2920
|
+
geometryBuffer: Required["Any"]
|
|
2921
|
+
geometryBufferCapacityBytes: Required["float | int"]
|
|
2922
|
+
markerProgram: Required["Any"]
|
|
2923
|
+
markerResolution: Required["Any"]
|
|
2924
|
+
markerVao: Required["Any"]
|
|
2925
|
+
markerBuffer: Required["Any"]
|
|
2926
|
+
markerBufferCapacityBytes: Required["float | int"]
|
|
2927
|
+
|
|
2928
|
+
class GeometryWriter(TypedDict, total=False):
|
|
2929
|
+
pass
|
|
2930
|
+
|
|
2931
|
+
class MarkerWriter(TypedDict, total=False):
|
|
2932
|
+
pass
|
|
2933
|
+
|
|
2934
|
+
Scene3dNodePngFailureCode: TypeAlias = Literal["UNSUPPORTED_CHART_TYPE", "INVALID_DIMENSIONS", "PIXEL_LIMIT_EXCEEDED", "NODE_NATIVE_UNAVAILABLE", "SVG_RENDER_FAILED", "NATIVE_RASTER_FAILED", "MALFORMED_NATIVE_OUTPUT"]
|
|
2935
|
+
Scene3dWebgl2FailureCode: TypeAlias = Literal["canvas-unavailable", "context-unavailable", "context-lost", "shader-compile-failed", "program-link-failed", "allocation-limit-exceeded", "buffer-allocation-failed", "point-size-unsupported", "color-unsupported", "draw-failed", "destroyed"]
|
|
2936
|
+
ChartCrosshairMode: TypeAlias = Literal["x", "y", "xy"]
|
|
2937
|
+
ChartCrosshairLabelFormatter: TypeAlias = Callable[[ChartCrosshairLabelFormatterArgs], str | None]
|
|
2938
|
+
ChartCrosshairSource: TypeAlias = Literal["pointer", "api"]
|
|
2939
|
+
ChartCrosshairSnap: TypeAlias = Literal["none", "nearest"]
|
|
2940
|
+
ChartCamera3dChangeReason: TypeAlias = Literal["set", "orbit", "dolly", "pan", "pan-dolly", "reset", "rollback"]
|
|
2941
|
+
ChartCamera3dSource: TypeAlias = Literal["api", "pointer", "wheel", "pinch", "keyboard"]
|
|
2942
|
+
ChartDataUpdateMode: TypeAlias = Literal["setData", "setTraces", "setTraceData", "appendData", "setDataState"]
|
|
2943
|
+
ChartEventHandler: TypeAlias = Callable[[Any], None]
|
|
2944
|
+
ChartEventType: TypeAlias = str
|
|
2945
|
+
ChartDragMode: TypeAlias = Literal["zoom", "pan"]
|
|
2946
|
+
ChartTooltipFormatter: TypeAlias = Callable[[ChartTooltipFormatterArgs], str]
|
|
2947
|
+
ChartTooltipLineMode: TypeAlias = Literal["points", "segments"]
|
|
2948
|
+
ChartTooltipMode: TypeAlias = Literal["default", "custom"]
|
|
2949
|
+
ChartTooltipSharedXMode: TypeAlias = Literal["exact", "nearest"]
|
|
2950
|
+
ChartTooltipSource: TypeAlias = Literal["pointer", "api"]
|
|
2951
|
+
ChartTraceVisibilitySource: TypeAlias = Literal["legend", "api"]
|
|
2952
|
+
ChartModifierKey: TypeAlias = Literal["alt", "ctrl", "meta", "none", "shift"]
|
|
2953
|
+
ChartPointSelectionMode: TypeAlias = Literal["single", "multiple"]
|
|
2954
|
+
ChartPointSelectionSource: TypeAlias = Literal["pointer", "keyboard", "api", "data"]
|
|
2955
|
+
ChartPolarRotationSource: TypeAlias = Literal["api", "pointer"]
|
|
2956
|
+
ChartRenderPhase: TypeAlias = Literal["skeleton", "full"]
|
|
2957
|
+
ChartZoomCancelReason: TypeAlias = Literal["prevented", "threshold", "pointercancel"]
|
|
2958
|
+
ChartZoomSource: TypeAlias = Literal["wheel", "drag", "pinch", "pan", "api"]
|
|
2959
|
+
AxisLabelFormatter: TypeAlias = Callable[[AxisLabelFormatterArgs], str | None]
|
|
2960
|
+
AxisTickDirection: TypeAlias = Literal["inside", "outside", "cross"]
|
|
2961
|
+
BarMode: TypeAlias = Literal["grouped", "stacked", "normalized"]
|
|
2962
|
+
BarOrientation: TypeAlias = Literal["vertical", "horizontal"]
|
|
2963
|
+
BarValueLabelFormatter: TypeAlias = Callable[[BarValueLabelFormatterArgs], str | None]
|
|
2964
|
+
BarValueLabelPosition: TypeAlias = Literal["center", "inside-end", "outside-end"]
|
|
2965
|
+
ColorScaleLegendPosition: TypeAlias = Literal["left", "right", "top", "bottom"]
|
|
2966
|
+
CartesianErrorValue: TypeAlias = float | int | CartesianErrorValue
|
|
2967
|
+
ColorValueScale: TypeAlias = Literal["linear", "logarithmic"]
|
|
2968
|
+
HeatmapCellLabelFormatter: TypeAlias = Callable[[HeatmapCellLabelFormatterArgs], str | None]
|
|
2969
|
+
LegendPosition: TypeAlias = Literal["top-left", "top-right", "bottom-left", "bottom-right", "outside-bottom"]
|
|
2970
|
+
LegendLayout: TypeAlias = Literal["column", "row"]
|
|
2971
|
+
LegendGroupBy: TypeAlias = Literal["none", "subplot"]
|
|
2972
|
+
MarkerShape: TypeAlias = Literal["circle", "square", "diamond", "triangle", "pentagon", "hexagon"]
|
|
2973
|
+
LineInterpolation: TypeAlias = Literal["linear", "smooth", "step-before", "step-after", "step-center"]
|
|
2974
|
+
LinePointLabelFormatter: TypeAlias = Callable[[LinePointLabelFormatterArgs], str | None]
|
|
2975
|
+
LinePointLabelPosition: TypeAlias = Literal["above", "below", "auto"]
|
|
2976
|
+
LinePattern: TypeAlias = Literal["solid", "dashed", "dotted", "dash-dot"]
|
|
2977
|
+
PlotEngineMode: TypeAlias = Literal["auto", "rust", "ts"]
|
|
2978
|
+
PolarAngleLabelFormatter: TypeAlias = Callable[[PolarAngleLabelFormatterArgs], str | None]
|
|
2979
|
+
PolarGridLabelFormatter: TypeAlias = Callable[[PolarGridLabelFormatterArgs], str | None]
|
|
2980
|
+
PolarMode: TypeAlias = Literal["windrose"]
|
|
2981
|
+
PolarRadialScale: TypeAlias = Literal["linear", "logarithmic"]
|
|
2982
|
+
PolarSectorMode: TypeAlias = Literal["grouped", "stacked"]
|
|
2983
|
+
PolarSectorLabelFormatter: TypeAlias = Callable[[PolarSectorLabelFormatterArgs], str | None]
|
|
2984
|
+
PolarVectorDirectionInput: TypeAlias = float | int | PolarVectorDirectionOptions
|
|
2985
|
+
PieLabelContent: TypeAlias = Literal["label", "value", "fraction", "label-value", "label-fraction"]
|
|
2986
|
+
PieLabelFormatter: TypeAlias = Callable[[PieLabelFormatterArgs], str | None]
|
|
2987
|
+
PieLabelPosition: TypeAlias = Literal["inside", "outside"]
|
|
2988
|
+
Scene3dProjection: TypeAlias = Literal["perspective", "orthographic"]
|
|
2989
|
+
Scene3dRendererMode: TypeAlias = Literal["canvas", "webgl2", "auto"]
|
|
2990
|
+
Scene3dResolvedRenderer: TypeAlias = Literal["renderer-neutral", "canvas", "webgl2"]
|
|
2991
|
+
ScalarInput: TypeAlias = float | int | str | datetime
|
|
2992
|
+
Scatter3dLodStrategy: TypeAlias = Literal["spatial-grid"]
|
|
2993
|
+
Line3dInterpolation: TypeAlias = Literal["linear", "smooth"]
|
|
2994
|
+
Line3dLodStrategy: TypeAlias = Literal["largest-triangle-3d"]
|
|
2995
|
+
Mesh3dFace: TypeAlias = tuple[float | int, float | int, float | int]
|
|
2996
|
+
Mesh3dLodStrategy: TypeAlias = Literal["largest-area-stratified"]
|
|
2997
|
+
Surface3dLodStrategy: TypeAlias = Literal["grid-stride"]
|
|
2998
|
+
SurfaceMissingCellPolicy: TypeAlias = Literal["gap", "zero"]
|
|
2999
|
+
TraceTrendlineMethod: TypeAlias = Literal["linear", "polynomial", "exponential", "logarithmic", "power", "gaussian", "cauchyLorentz"]
|
|
3000
|
+
WonderplotMarkerLabelFormatter: TypeAlias = Callable[[WonderplotMarkerLabelFormatterArgs], str | None]
|
|
3001
|
+
XAxisSide: TypeAlias = Literal["top", "bottom"]
|
|
3002
|
+
YAxisSide: TypeAlias = Literal["left", "right"]
|
|
3003
|
+
Vector3Tuple: TypeAlias = tuple[float | int, float | int, float | int]
|
|
3004
|
+
ResolvedChartPointClickOptions: TypeAlias = ChartPointClickOptions
|
|
3005
|
+
ResolvedChartPointSelectionOptions: TypeAlias = ChartPointSelectionOptions
|
|
3006
|
+
ResolvedChartCamera3dInteractionOptions: TypeAlias = Mapping[str, Any]
|
|
3007
|
+
ResizeObserverCtor: TypeAlias = Any
|
|
3008
|
+
TooltipIndex: TypeAlias = dict[str, list[TooltipCandidate]]
|
|
3009
|
+
AxisInteractionMode: TypeAlias = Literal["x", "y", "xy"]
|
|
3010
|
+
WasmSceneBuilder: TypeAlias = Callable[[list[Point], float | int, float | int, Literal["linear", "logarithmic", "datetime"], Literal["linear", "logarithmic", "datetime"], float | int, float | int, float | int, float | int], Any]
|
|
3011
|
+
WasmSceneWithDomainBuilder: TypeAlias = Callable[[list[Point], float | int, float | int, Literal["linear", "logarithmic", "datetime"], Literal["linear", "logarithmic", "datetime"], float | int, float | int, float | int, float | int], Any]
|
|
3012
|
+
WasmAxisLayoutBuilder: TypeAlias = Callable[[list[Point], float | int, float | int, Literal["linear", "logarithmic", "datetime"], Literal["linear", "logarithmic", "datetime"], Literal["small", "complete", "none"], Literal["small", "complete", "none"], float | int, float | int, float | int, float | int], Any]
|
|
3013
|
+
WasmSubplotLayoutBuilder: TypeAlias = Callable[[Any], Any]
|
|
3014
|
+
WasmSubplotAxisLabelVisibilityBuilder: TypeAlias = Callable[[Any], Any]
|
|
3015
|
+
WasmBarSceneBuilder: TypeAlias = Callable[[Any], Any]
|
|
3016
|
+
WasmHeatmapSceneBuilder: TypeAlias = Callable[[Any], Any]
|
|
3017
|
+
WasmWonderplotSceneBuilder: TypeAlias = Callable[[Any], Any]
|
|
3018
|
+
WasmPolarSceneBuilder: TypeAlias = Callable[[Any], Any]
|
|
3019
|
+
WasmModuleLoader: TypeAlias = Callable[[], Awaitable[WasmRuntimeModule]]
|
|
3020
|
+
Rgba: TypeAlias = tuple[float | int, float | int, float | int, float | int]
|
|
3021
|
+
SurfaceTriangle: TypeAlias = Any
|
|
3022
|
+
MeshTriangle: TypeAlias = Any
|
|
3023
|
+
FilledTriangle: TypeAlias = SurfaceTriangle | MeshTriangle
|
|
3024
|
+
SurfaceContourSegment: TypeAlias = Any
|
|
3025
|
+
LineAreaFillBaseline: TypeAlias = Literal["axis-min"] | Literal["axis-max"] | Literal["zero"] | ScalarInput
|
|
3026
|
+
|
|
3027
|
+
__all__ = ["Scene3dNodePngFailureCode","Scene3dWebgl2FailureCode","ChartBeforeRenderEvent","ChartBeforeCamera3dChangeEvent","ChartBeforeZoomEvent","ChartAppendDataOptions","ChartCrosshairMode","ChartCrosshairLabelFormatter","ChartCrosshairLabelFormatterArgs","ChartCrosshairLabelOptions","ChartCrosshairChangeEvent","ChartCrosshairClearEvent","ChartCrosshairOptions","ChartCrosshairPosition","ChartCrosshairSource","ChartCrosshairSnap","ChartCrosshairState","ChartCrosshairStyleOptions","ChartCrosshairUpdateOptions","ChartCamera3dChangeEvent","ChartCamera3dChangeReason","ChartCamera3dDollyOptions","ChartCamera3dInteractionOptions","ChartCamera3dOrbitOptions","ChartCamera3dPanOptions","ChartCamera3dSource","ChartCamera3dState","ChartCamera3dUpdateOptions","ChartDataState","ChartDataStateUpdateOptions","ChartDataUpdateEvent","ChartDataUpdateMode","ChartErrorEvent","ChartEventHandler","ChartEventMap","ChartEventType","ChartDragMode","ChartDragModeChangeEvent","ChartInteractionOptions","ChartTooltipClearEvent","ChartTooltipEvent","ChartTooltipFormatter","ChartTooltipFormatterArgs","ChartTooltipItem","ChartTooltipLineMode","ChartTooltipMode","ChartTooltipOptions","ChartTooltipSharedXMode","ChartTooltipSource","ChartTooltipState","ChartTooltipStyle","ChartTooltipTarget","ChartTooltipUpdateOptions","ChartTraceVisibilityEvent","ChartTraceVisibilitySource","ChartTraceVisibilityState","ChartTraceVisibilityUpdateOptions","ChartModifierKey","ChartOptions","ChartPanOptions","ChartPointClickEvent","ChartPointClickOptions","ChartPointSelection","ChartPointSelectionChangeEvent","ChartPointSelectionMode","ChartPointSelectionOptions","ChartPointSelectionSource","ChartPointSelectionState","ChartPointSelectionUpdateOptions","ChartPolarRotateOptions","ChartPolarRotationChangeEvent","ChartPolarRotationSource","ChartPolarRotationState","ChartPolarRotationUpdateOptions","ChartProgrammaticPanOptions","ChartRenderEndEvent","ChartRenderPhase","ChartRenderPhaseEvent","ChartRenderStartEvent","ChartRenderEvent","ChartResizeEvent","ChartResizingEvent","ChartProgrammaticZoomOptions","ChartSize","ChartState","ChartStateChangeEvent","ChartStateUpdateOptions","ChartViewportUpdateOptions","ChartViewportScopeOptions","ChartViewportChangeEvent","ChartViewportControlState","ChartViewportControlStateOptions","ChartZoomCancelEvent","ChartZoomCancelReason","ChartZoomEndEvent","ChartZoomEvent","ChartZoomOptions","ChartZoomPointer","ChartZoomSelection","ChartZoomSource","AxisPaddingPercent","AxisLabelFormatter","AxisLabelFormatterArgs","AxisLabelStyleOptions","AxisStrokeStyleOptions","AxisTickDirection","AxisViewportRange","AxisViewportState","BarMode","BarOrientation","BarOptions","BarTraceOptions","BarRect","BarValueLabel","BarValueLabelFormatter","BarValueLabelFormatterArgs","BarValueLabelOptions","BarValueLabelPosition","CanvasRenderOptions","CanvasQualityOptions","CanvasPlotOptions","CartesianReferenceBandOptions","CartesianReferenceLineOptions","CartesianReferenceOptions","ColorScaleStop","ColorScaleLegendPosition","CartesianErrorBar","CartesianErrorBarOptions","CartesianErrorValue","ColorValueScale","DataPoint","HeatmapAxisLabel","HeatmapAxisLabelOptions","HeatmapCell","HeatmapCellLabel","HeatmapCellLabelFormatter","HeatmapCellLabelFormatterArgs","HeatmapCellLabelOptions","HeatmapColorScaleLegend","HeatmapColorScaleLegendOptions","HeatmapColorScaleLegendTick","HeatmapGridOverlay","HeatmapGuideLine","HeatmapGuideOptions","HeatmapMissingCellOptions","HeatmapOptions","HeatmapTraceOptions","LineAxesOptions","LineAxisOptions","LegendOptions","LegendPosition","LegendLayout","LegendGroupBy","LegendGroupOptions","LegendEntryOptions","LegendStyleOptions","MarginOptions","MarkerOptions","MarkerShape","LineInterpolation","LinePointLabel","LinePointLabelFormatter","LinePointLabelFormatterArgs","LinePointLabelOptions","LinePointLabelPosition","LineAreaFillBaseline","LineAreaFillOptions","LinePattern","PlotEngineMode","PlotBounds","PlotAreaStyleOptions","PlotAxesStyleOptions","PlotOptions","PlotStyleOptions","PlotTextStyleOptions","ResolvedCartesianErrorBarStyle","PolarAngleLabel","PolarAngleLabelFormatter","PolarAngleLabelFormatterArgs","PolarAngleLabelOptions","PolarAngleGuide","PolarGrid","PolarGridLabel","PolarGridLabelFormatter","PolarGridLabelFormatterArgs","PolarGridLabelOptions","PolarGridOptions","PolarGridRing","PolarMode","PolarOptions","PolarTraceOptions","PolarRadialScale","PolarSectorMode","PolarSector","PolarSectorLabel","PolarSectorLabelFormatter","PolarSectorLabelFormatterArgs","PolarSectorLabelOptions","PolarVector","PolarVectorDirectionInput","PolarVectorDirectionOptions","PolarVectorOptions","PieDatumInput","Pie3dOptions","PieLabelContent","PieLabelFormatter","PieLabelFormatterArgs","PieLabelOptions","PieLabelPosition","PieOptions","PieSector","PieSectorLabel","PieTraceInput","PieTraceOptions","PlotTraceStyleOptions","Point","Scene","Scene3dAxisOptions","Scene3dAccessibilityOptions","Scene3dAccessibilitySummary","Scene3dAccessibleDataRow","Scene3dAccessibleTraceSummary","Scene3dCameraOptions","Scene3dCameraState","Scene3dColorScaleLegend","Scene3dDomains","Scene3dLabel","Scene3dLightingOptions","Scene3dMetadata","Scene3dOptions","Scene3dProjection","Scene3dRendererDiagnostics","Scene3dRendererMode","Scene3dResolvedRenderer","ResolvedScene3dLighting","ResolvedTriangleWireframeStyle","ResolvedSurfaceContourStyle","Scene3dSegment","Scene3dSubplotOptions","Scene3dTickLabel","ScenePrimitive","ScalarInput","SubplotItemOptions","SubplotLayoutOptions","SubplotsOptions","SubplotTrackOptions","TraceInput","Scatter3dPoint","Scatter3dColorScaleOptions","Scatter3dLodOptions","Scatter3dLodStrategy","Scatter3dOpacityScaleOptions","Scatter3dOptions","ResolvedScatter3dLod","Scatter3dSizeScaleOptions","Scatter3dTraceOptions","Line3dInterpolation","Line3dLodOptions","Line3dLodStrategy","Line3dOptions","ResolvedLine3dLod","Line3dSegment","Line3dTraceOptions","Mesh3dFace","Mesh3dLodOptions","Mesh3dLodStrategy","Mesh3dOptions","Mesh3dTraceOptions","Mesh3dTriangle","Mesh3dVertex","ResolvedMesh3dLod","Surface3dColorScaleLegend","Surface3dContourSegment","Surface3dLodOptions","Surface3dLodStrategy","Surface3dTriangle","Surface3dVertex","ResolvedSurface3dLod","SurfaceMissingCellPolicy","SurfaceContourOptions","SurfaceOptions","SurfaceTraceOptions","TriangleWireframeOptions","TraceAreaStyleOptions","TraceLineStyleOptions","TraceMarkerStyleOptions","TraceTrendlineMethod","TraceTrendlineOptions","TooltipStyleOptions","WonderplotColorScaleOptions","WonderplotColorScaleLegend","WonderplotColorScaleLegendOptions","WonderplotColorScaleLegendTick","WonderplotMarkerLabel","WonderplotMarkerLabelFormatter","WonderplotMarkerLabelFormatterArgs","WonderplotMarkerLabelOptions","WonderplotOptions","WonderplotTraceOptions","WonderplotSizeScaleOptions","WonderplotOpacityScaleOptions","WonderPoint","XAxisSide","YAxisSide","Vector3Tuple","LineAxisLayoutDiagnostics","WasmPlotEngineStatus"]
|