mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: make chart legend visibility configurable via show_legend
assign
This commit is contained in:
parent
b4535bd29b
commit
35dfd13ddd
2 changed files with 2 additions and 1 deletions
|
@ -96,7 +96,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
options: {
|
||||
plugins: {
|
||||
legend: {
|
||||
display: false,
|
||||
display: {% if show_legend == false %}false{% else %}true{% endif %},
|
||||
labels: {
|
||||
generateLabels: function(chart) {
|
||||
return [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue