update chartdemo | baroptions & lineoptions
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user