Fix node chart legend position error

This commit is contained in:
softsimon 2023-01-26 23:18:12 +04:00
parent f6be04dafd
commit 1cf3e1814b
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

View File

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