fixed chart sizing
This commit is contained in:
@@ -38,6 +38,7 @@ export class SplashComponent {
|
||||
this.chartData$ = this.appService.getInfoChart().pipe(
|
||||
map((chartData: any) => {
|
||||
return {
|
||||
|
||||
labels: chartData.map((d: any) => d.label),
|
||||
datasets: [
|
||||
{
|
||||
@@ -66,6 +67,7 @@ export class SplashComponent {
|
||||
|
||||
|
||||
this.chartOptions = {
|
||||
maintainAspectRatio: false,
|
||||
plugins: {
|
||||
legend: {
|
||||
labels: {
|
||||
|
||||
Reference in New Issue
Block a user