mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 22:41:06 +08:00
@@ -446,7 +446,8 @@ export class BidirectionalHorizontalBar extends G2PlotChartView<
|
||||
layout,
|
||||
style: {
|
||||
fill: l.color,
|
||||
fontSize: l.fontSize
|
||||
fontSize: l.fontSize,
|
||||
fontFamily: chart.fontFamily
|
||||
},
|
||||
formatter: param => {
|
||||
let yaxis = yAxis[0]
|
||||
|
||||
@@ -337,7 +337,10 @@ export class StockLine extends G2PlotChartView<MixOptions, Mix> {
|
||||
data,
|
||||
slider: {
|
||||
start: 0.5,
|
||||
end: 1
|
||||
end: 1,
|
||||
textStyle: {
|
||||
fontFamily: chart.fontFamily
|
||||
}
|
||||
},
|
||||
plots: [
|
||||
{
|
||||
|
||||
@@ -246,7 +246,8 @@ export class SankeyBar extends G2PlotChartView<SankeyOptions, Sankey> {
|
||||
style: {
|
||||
fill: labelAttr.color,
|
||||
fontSize: labelAttr.fontSize,
|
||||
textAlign: isLast ? 'end' : 'start'
|
||||
textAlign: isLast ? 'end' : 'start',
|
||||
fontFamily: chart.fontFamily
|
||||
},
|
||||
offsetX: isLast ? -8 : 8
|
||||
}
|
||||
|
||||
@@ -687,7 +687,8 @@ export function getSlider(chart: Chart) {
|
||||
}
|
||||
if (senior.functionCfg.sliderTextColor) {
|
||||
cfg.textStyle = {
|
||||
fill: senior.functionCfg.sliderTextColor
|
||||
fill: senior.functionCfg.sliderTextColor,
|
||||
fontFamily: chart.fontFamily
|
||||
}
|
||||
cfg.handlerStyle = {
|
||||
fill: senior.functionCfg.sliderTextColor,
|
||||
|
||||
Reference in New Issue
Block a user