@@ -24,6 +24,7 @@ class Graph(DashComponent):
24
24
clear_on_unhover = ComponentProp ('clear_on_unhover' , False , False )
25
25
selectedData = ComponentProp ('selectedData' , UNDEFINED , False )
26
26
relayoutData = ComponentProp ('relayoutData' , UNDEFINED , False )
27
+ extendData = ComponentProp ('extendData' , UNDEFINED , False )
27
28
restyleData = ComponentProp ('restyleData' , UNDEFINED , False )
28
29
figure = ComponentProp ('figure' , UNDEFINED , False )
29
30
style = ComponentProp ('style' , UNDEFINED , False )
@@ -42,6 +43,7 @@ def __init__(
42
43
clear_on_unhover = False ,
43
44
selectedData = UNDEFINED ,
44
45
relayoutData = UNDEFINED ,
46
+ extendData = UNDEFINED ,
45
47
restyleData = UNDEFINED ,
46
48
figure = UNDEFINED ,
47
49
style = UNDEFINED ,
@@ -51,7 +53,7 @@ def __init__(
51
53
config = UNDEFINED ,
52
54
loading_state = UNDEFINED ,
53
55
):
54
- # type: (typing.Union[str, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[bool, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.List, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[str, Undefined], typing.Union[bool, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict[str, typing.Union[bool, typing.Dict[str, typing.Union[bool]], typing.Union[float, int], typing.Any, str, typing.List]], Undefined], typing.Union[typing.Dict[str, typing.Union[bool, str]], Undefined]) -> None # noqa: E501
56
+ # type: (typing.Union[str, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[bool, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing. List, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[str, Undefined], typing.Union[bool, Undefined], typing.Union[typing.Dict, Undefined], typing.Union[typing.Dict[str, typing.Union[bool, typing.Dict[str, typing.Union[bool]], typing.Union[float, int], typing.Any, str, typing.List]], Undefined], typing.Union[typing.Dict[str, typing.Union[bool, str]], Undefined]) -> None # noqa: E501
55
57
"""
56
58
:param id: The ID of this component, used to identify dash
57
59
components in callbacks. The ID needs to be unique
@@ -75,6 +77,18 @@ def __init__(
75
77
other layout-level edits. Has the form `{<attr
76
78
string>: <value>}` describing the changes
77
79
made. Read-only.(default=null)
80
+ :param extendData: Data that should be appended to existing traces.
81
+ Has the form `[updateData, traceIndices,
82
+ maxPoints]`, where `updateData` is an object
83
+ containing the data to extend, `traceIndices`
84
+ (optional) is an array of trace indices that
85
+ should be extended, and `maxPoints` (optional)
86
+ is either an integer defining the maximum number
87
+ of points allowed or an object with key:value
88
+ pairs matching `updateData` Reference the
89
+ Plotly.extendTraces API for full usage:
90
+ https://plot.ly/javascript/plotlyjs-function-
91
+ reference/#plotlyextendtraces(default=null)
78
92
:param restyleData: Data from latest restyle event which occurs
79
93
when the user toggles a legend item, changes
80
94
parcoords selections, or other trace-level
0 commit comments