update chartdemo | baroptions & lineoptions

This commit is contained in:
Mehmet Çetin
2025-01-08 14:05:15 +03:00
parent 031bd8f25d
commit 4fc30f4ee9

View File

@@ -107,6 +107,8 @@ export class ChartDemo {
}; };
this.barOptions = { this.barOptions = {
maintainAspectRatio: false,
aspectRatio: 0.8,
plugins: { plugins: {
legend: { legend: {
labels: { labels: {
@@ -184,6 +186,8 @@ export class ChartDemo {
}; };
this.lineOptions = { this.lineOptions = {
maintainAspectRatio: false,
aspectRatio: 0.8,
plugins: { plugins: {
legend: { legend: {
labels: { labels: {