Merge pull request #2974 from mempool/simon/node-chart-legend-error-fix

Fix node chart legend position error
This commit is contained in:
wiz 2023-01-27 04:43:19 +09:00 committed by GitHub
commit 687451e5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}