forked from github/dataease
Merge pull request #10750 from dataease/pr@dev-v2@fix_gauge_label_font_size
fix(图表): 仪表盘标签字体大小无效
This commit is contained in:
commit
23d00e7e02
@ -236,7 +236,7 @@ export class Gauge extends G2PlotChartView<GaugeOptions, G2Gauge> {
|
|||||||
if (label.show) {
|
if (label.show) {
|
||||||
labelContent = {
|
labelContent = {
|
||||||
style: {
|
style: {
|
||||||
fontSize: `${label.fontSize}`,
|
fontSize: `${label.fontSize}px`,
|
||||||
color: label.color
|
color: label.color
|
||||||
},
|
},
|
||||||
formatter: function () {
|
formatter: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user