From: Jacco van den Berg Date: Thu, 14 Dec 2023 21:11:26 +0000 (+0100) Subject: Add extra calrification for html legend (#11614) X-Git-Tag: v4.4.2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=84e7238a647623a3dd1f1c699752c4c364a68b1e;p=thirdparty%2FChart.js.git Add extra calrification for html legend (#11614) --- diff --git a/docs/samples/legend/html.md b/docs/samples/legend/html.md index a1400a3d3..362805942 100644 --- a/docs/samples/legend/html.md +++ b/docs/samples/legend/html.md @@ -1,6 +1,7 @@ # HTML Legend -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. +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. +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: `
`.