From 5a48604df7635f0256ca4130abb467ad1c772f5c Mon Sep 17 00:00:00 2001 From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Sun, 7 Mar 2021 21:43:31 +0100 Subject: [PATCH] Update legend.md (#8582) Noticed from https://github.com/chartjs/Chart.js/issues/6185#issuecomment-748097030 that there is an option to get the legend in the chart, this was not documented. Only difference I noticed from kurkles screenshot is that the legend now shows in the middle instead of in the top corner. https://jsfiddle.net/Leelenaleee/wszdv8q0/2/ --- docs/docs/configuration/legend.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docs/configuration/legend.md b/docs/docs/configuration/legend.md index c123e2172..9b1f3114d 100644 --- a/docs/docs/configuration/legend.md +++ b/docs/docs/configuration/legend.md @@ -33,6 +33,9 @@ Position of the legend. Options are: * `'left'` * `'bottom'` * `'right'` +* `'chartArea'` + +When using the `'chartArea'` option the legend position is at the moment not configurable, it will always be on the left side of the chart in the middle. ## Align -- 2.47.3