mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
@@ -132,6 +132,7 @@ export class Bar extends G2PlotChartView<ColumnOptions, Column> {
|
||||
textAlign: 'start',
|
||||
textBaseline: 'top',
|
||||
fontSize: labelCfg.fontSize,
|
||||
fontFamily: chart.fontFamily,
|
||||
fill: labelCfg.color
|
||||
}
|
||||
})
|
||||
|
||||
@@ -492,6 +492,7 @@ export class BidirectionalHorizontalBar extends G2PlotChartView<
|
||||
textAlign: label.position === 'middle' ? 'start' : textAlign,
|
||||
textBaseline: 'top',
|
||||
fontSize: labelCfg.fontSize,
|
||||
fontFamily: chart.fontFamily,
|
||||
fill: labelCfg.color
|
||||
}
|
||||
})
|
||||
|
||||
@@ -224,6 +224,7 @@ export class HorizontalBar extends G2PlotChartView<BarOptions, Bar> {
|
||||
textAlign: 'start',
|
||||
textBaseline: 'top',
|
||||
fontSize: labelCfg.fontSize,
|
||||
fontFamily: chart.fontFamily,
|
||||
fill: labelCfg.color
|
||||
}
|
||||
})
|
||||
|
||||
@@ -179,6 +179,7 @@ export class Area extends G2PlotChartView<AreaOptions, G2Area> {
|
||||
textAlign: 'start',
|
||||
textBaseline: 'top',
|
||||
fontSize: labelCfg.fontSize,
|
||||
fontFamily: chart.fontFamily,
|
||||
fill: color
|
||||
}
|
||||
})
|
||||
|
||||
@@ -178,6 +178,7 @@ export class Line extends G2PlotChartView<LineOptions, G2Line> {
|
||||
textAlign: 'start',
|
||||
textBaseline: 'top',
|
||||
fontSize: labelCfg.fontSize,
|
||||
fontFamily: chart.fontFamily,
|
||||
fill: color
|
||||
}
|
||||
})
|
||||
|
||||
@@ -226,6 +226,7 @@ export class ColumnLineMix extends G2PlotChartView<DualAxesOptions, DualAxes> {
|
||||
textAlign: 'start',
|
||||
textBaseline: 'top',
|
||||
fontSize: labelCfg.fontSize,
|
||||
fontFamily: chart.fontFamily,
|
||||
fill: labelCfg.color
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user