Fix node chart legend position error

This commit is contained in:
softsimon committed 2023-01-26 23:18:12 +04:00
1 parent f6be04dafd
commit 1cf3e1814b
1 file changed
+1 -1
@@ -413,7 +413,7 @@ export class NodesNetworksChartComponent implements OnInit {
}],
};
if (isMobile()) {
if (isMobile() && this.chartOptions.legend) {
// @ts-ignore
this.chartOptions.legend.left = 50;
}