Fix node chart legend position error

This commit is contained in:
softsimon 2023-01-26 23:18:12 +04:00
parent 6fbe67c3c5
commit 193ae7c2da

View File

@ -413,7 +413,7 @@ export class NodesNetworksChartComponent implements OnInit {
}], }],
}; };
if (isMobile()) { if (isMobile() && this.chartOptions.legend) {
// @ts-ignore // @ts-ignore
this.chartOptions.legend.left = 50; this.chartOptions.legend.left = 50;
} }