Merge pull request #10750 from dataease/pr@dev-v2@fix_gauge_label_font_size

fix(图表): 仪表盘标签字体大小无效
This commit is contained in:
wisonic-s 2024-07-03 11:47:31 +08:00 committed by GitHub
commit 23d00e7e02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 () {