fix(图表): 仪表盘标签字体大小无效
This commit is contained in:
parent
ba5ba9c8b3
commit
bcf70b9cd5
@ -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 () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user