Skip to content

Commit 84e7238

Browse files
authored
Add extra calrification for html legend (#11614)
1 parent ac53fd2 commit 84e7238

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/samples/legend/html.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# HTML Legend
22

3-
This example shows how to create a custom HTML legend using a plugin and connect it to the chart in lieu of the default on-canvas legend.
3+
This example shows how to create a custom HTML legend using a plugin and connect it to the chart in lieu of the default on-canvas legend.
4+
For an html legend to work you need to place an empty div at your web page with the ID you provide in the options to bind to like so: `<div id="legend-container"></div>`.
45

56
<div id="legend-container"></div>
67

0 commit comments

Comments
 (0)