Skip to content

Commit

Permalink
bugfix: remove custom chart-legend on fullsize chart
Browse files Browse the repository at this point in the history
  • Loading branch information
trinhvanminh committed Aug 16, 2024
1 parent 06ad1b5 commit 6e2cf65
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ export const fullSizeChart = new Chart(fullSizeCtx, {
},
],
},
plugins: [htmlLegendPlugin],
options: {
maintainAspectRatio: true,
aspectRatio: 2 / 1,
Expand All @@ -203,9 +202,6 @@ export const fullSizeChart = new Chart(fullSizeCtx, {
},
},
},
htmlLegend: {
containerID: "legend-container",
},
title: {
display: true,
text: "LÃI KÉP",
Expand Down

0 comments on commit 6e2cf65

Please sign in to comment.