fix(图表): 仪表盘标签字体大小无效

This commit is contained in:
wisonic-s 2024-07-03 11:46:51 +08:00
parent ba5ba9c8b3
commit bcf70b9cd5

View File

@ -236,7 +236,7 @@ export class Gauge extends G2PlotChartView<GaugeOptions, G2Gauge> {
if (label.show) {
labelContent = {
style: {
fontSize: `${label.fontSize}`,
fontSize: `${label.fontSize}px`,
color: label.color
},
formatter: function () {