Skip to content

Commit 4eb6f65

Browse files
author
Mark Gibbs
committed
Improve live updating demo commentary
1 parent 1d973dd commit 4eb6f65

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

demo/demo/templates/demo_four.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ <h1>Live Updating</h1>
1111
Live updating uses a websocket connection. The server pushes messages to the UI, and this is then translated into a
1212
callback through a dash component.
1313
</p>
14+
<p>
15+
Each press of a button causes a new random value to be added to that colour's time series in each
16+
chart. Separate values are generated for each chart. The top chart has values
17+
local to this page, and the bottom chart - including its values - is shared across all views of this
18+
page.
19+
</p>
1420
<div class="card bg-light border-dark">
1521
<div class="card-body">
1622
<p><span>{</span>% load plotly_dash %}</p>
@@ -45,7 +51,7 @@ <h1>Live Updating</h1>
4551
</p>
4652
<p>
4753
Any http command
48-
can be used to send a message to the apps. This is equiavent to a press of
54+
can be used to send a message to the apps. This is equivalent to a press of
4955
the red button. Other colours can be specified, including yellow, cyan and black in
5056
addition to the three named in the LiveInput app.
5157
</p>

0 commit comments

Comments
 (0)