mirror of
https://github.com/chartjs/Chart.js.git
synced 2026-03-09 01:36:51 +01:00
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/
This commit is contained in:
committed by
GitHub
parent
160534f913
commit
5a48604df7
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user