From 4f1d4d9954b586d8fe69fc8f02cd0eba63bed73e Mon Sep 17 00:00:00 2001 From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Sun, 7 Mar 2021 00:33:23 +0100 Subject: [PATCH] Update legend.md 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 c123e21724b..9b1f3114dae 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