Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 54d5b1b

Browse files
Merge Julia build
1 parent 3d9bd11 commit 54d5b1b

File tree

2 files changed

+31
-23
lines changed

2 files changed

+31
-23
lines changed

lib/DashCoreComponents.jl

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module DashCoreComponents
33
using DashBase
44

55
const resources_path = realpath(joinpath( @__DIR__, "..", "deps"))
6-
const version = "1.12.0"
6+
const version = "1.12.1"
77

88
include("dcc_checklist.jl")
99
include("dcc_confirmdialog.jl")
@@ -37,147 +37,147 @@ function __init__()
3737
[
3838
DashBase.Resource(
3939
relative_package_path = "async-datepicker.js",
40-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-datepicker.js",
40+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-datepicker.js",
4141
dynamic = nothing,
4242
async = :true,
4343
type = :js
4444
),
4545
DashBase.Resource(
4646
relative_package_path = "async-dropdown.js",
47-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-dropdown.js",
47+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-dropdown.js",
4848
dynamic = nothing,
4949
async = :true,
5050
type = :js
5151
),
5252
DashBase.Resource(
5353
relative_package_path = "async-graph.js",
54-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-graph.js",
54+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-graph.js",
5555
dynamic = nothing,
5656
async = :true,
5757
type = :js
5858
),
5959
DashBase.Resource(
6060
relative_package_path = "async-highlight.js",
61-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-highlight.js",
61+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-highlight.js",
6262
dynamic = nothing,
6363
async = :true,
6464
type = :js
6565
),
6666
DashBase.Resource(
6767
relative_package_path = "async-markdown.js",
68-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-markdown.js",
68+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-markdown.js",
6969
dynamic = nothing,
7070
async = :true,
7171
type = :js
7272
),
7373
DashBase.Resource(
7474
relative_package_path = "async-slider.js",
75-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-slider.js",
75+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-slider.js",
7676
dynamic = nothing,
7777
async = :true,
7878
type = :js
7979
),
8080
DashBase.Resource(
8181
relative_package_path = "async-upload.js",
82-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-upload.js",
82+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-upload.js",
8383
dynamic = nothing,
8484
async = :true,
8585
type = :js
8686
),
8787
DashBase.Resource(
8888
relative_package_path = "async-datepicker.js.map",
89-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-datepicker.js.map",
89+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-datepicker.js.map",
9090
dynamic = true,
9191
async = nothing,
9292
type = :js
9393
),
9494
DashBase.Resource(
9595
relative_package_path = "async-dropdown.js.map",
96-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-dropdown.js.map",
96+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-dropdown.js.map",
9797
dynamic = true,
9898
async = nothing,
9999
type = :js
100100
),
101101
DashBase.Resource(
102102
relative_package_path = "async-graph.js.map",
103-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-graph.js.map",
103+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-graph.js.map",
104104
dynamic = true,
105105
async = nothing,
106106
type = :js
107107
),
108108
DashBase.Resource(
109109
relative_package_path = "async-highlight.js.map",
110-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-highlight.js.map",
110+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-highlight.js.map",
111111
dynamic = true,
112112
async = nothing,
113113
type = :js
114114
),
115115
DashBase.Resource(
116116
relative_package_path = "async-markdown.js.map",
117-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-markdown.js.map",
117+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-markdown.js.map",
118118
dynamic = true,
119119
async = nothing,
120120
type = :js
121121
),
122122
DashBase.Resource(
123123
relative_package_path = "async-slider.js.map",
124-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-slider.js.map",
124+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-slider.js.map",
125125
dynamic = true,
126126
async = nothing,
127127
type = :js
128128
),
129129
DashBase.Resource(
130130
relative_package_path = "async-upload.js.map",
131-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-upload.js.map",
131+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-upload.js.map",
132132
dynamic = true,
133133
async = nothing,
134134
type = :js
135135
),
136136
DashBase.Resource(
137137
relative_package_path = "dash_core_components.min.js",
138-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/dash_core_components.min.js",
138+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/dash_core_components.min.js",
139139
dynamic = nothing,
140140
async = nothing,
141141
type = :js
142142
),
143143
DashBase.Resource(
144144
relative_package_path = "dash_core_components.min.js.map",
145-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/dash_core_components.min.js.map",
145+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/dash_core_components.min.js.map",
146146
dynamic = true,
147147
async = nothing,
148148
type = :js
149149
),
150150
DashBase.Resource(
151151
relative_package_path = "dash_core_components-shared.js",
152-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/dash_core_components-shared.js",
152+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/dash_core_components-shared.js",
153153
dynamic = nothing,
154154
async = nothing,
155155
type = :js
156156
),
157157
DashBase.Resource(
158158
relative_package_path = "dash_core_components-shared.js.map",
159-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/dash_core_components-shared.js.map",
159+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/dash_core_components-shared.js.map",
160160
dynamic = true,
161161
async = nothing,
162162
type = :js
163163
),
164164
DashBase.Resource(
165165
relative_package_path = "plotly.min.js",
166-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/plotly.min.js",
166+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/plotly.min.js",
167167
dynamic = nothing,
168168
async = :eager,
169169
type = :js
170170
),
171171
DashBase.Resource(
172172
relative_package_path = "async-plotlyjs.js",
173-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-plotlyjs.js",
173+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-plotlyjs.js",
174174
dynamic = nothing,
175175
async = :lazy,
176176
type = :js
177177
),
178178
DashBase.Resource(
179179
relative_package_path = "async-plotlyjs.js.map",
180-
external_url = "https://unpkg.com/dash-core-components@1.12.0/dash_core_components/async-plotlyjs.js.map",
180+
external_url = "https://unpkg.com/dash-core-components@1.12.1/dash_core_components/async-plotlyjs.js.map",
181181
dynamic = true,
182182
async = nothing,
183183
type = :js

lib/dcc_graph.jl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ either an integer defining the maximum number of points allowed or an
4848
object with key:value pairs matching `updateData`
4949
Reference the Plotly.extendTraces API for full usage:
5050
https://plotly.com/javascript/plotlyjs-function-reference/#plotlyextendtraces
51+
- `prependData` (Array | Dict; optional): Data that should be prepended to existing traces. Has the form
52+
`[updateData, traceIndices, maxPoints]`, where `updateData` is an object
53+
containing the data to prepend, `traceIndices` (optional) is an array of
54+
trace indices that should be prepended, and `maxPoints` (optional) is
55+
either an integer defining the maximum number of points allowed or an
56+
object with key:value pairs matching `updateData`
57+
Reference the Plotly.prependTraces API for full usage:
58+
https://plotly.com/javascript/plotlyjs-function-reference/#plotlyprependtraces
5159
- `restyleData` (Array; optional): Data from latest restyle event which occurs
5260
when the user toggles a legend item, changes
5361
parcoords selections, or other trace-level edits.
@@ -157,7 +165,7 @@ Those elements have the following types:
157165
- `component_name` (String; optional): Holds the name of the component that is loading
158166
"""
159167
function dcc_graph(; kwargs...)
160-
available_props = Symbol[:id, :responsive, :clickData, :clickAnnotationData, :hoverData, :clear_on_unhover, :selectedData, :relayoutData, :extendData, :restyleData, :figure, :style, :className, :animate, :animation_options, :config, :loading_state]
168+
available_props = Symbol[:id, :responsive, :clickData, :clickAnnotationData, :hoverData, :clear_on_unhover, :selectedData, :relayoutData, :extendData, :prependData, :restyleData, :figure, :style, :className, :animate, :animation_options, :config, :loading_state]
161169
wild_props = Symbol[]
162170
return Component("dcc_graph", "Graph", "dash_core_components", available_props, wild_props; kwargs...)
163171
end

0 commit comments

Comments
 (0)