From 607b187a6440226e3d9881aaf123f94e894a8a34 Mon Sep 17 00:00:00 2001 From: Jacco van den Berg Date: Thu, 14 Dec 2023 21:43:07 +0100 Subject: [PATCH] Add extra calrification for html legend --- docs/samples/legend/html.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/samples/legend/html.md b/docs/samples/legend/html.md index a1400a3d387..3628059428b 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: `
`.