mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 03:22:56 +08:00
fix(图表): 修复双线组合图左右轴线宽与折点大小样式设置同样数值但是展示大小不一致问题
This commit is contained in:
parent
e89cb41aaa
commit
524f2929ba
@ -116,7 +116,14 @@ export function colorRgb(color, opacity) {
|
||||
}
|
||||
|
||||
export const customAttrTrans = {
|
||||
basicStyle: ['barWidth', 'lineWidth', 'lineSymbolSize', 'tableColumnWidth'],
|
||||
basicStyle: [
|
||||
'barWidth',
|
||||
'lineWidth',
|
||||
'lineSymbolSize',
|
||||
'leftLineWidth',
|
||||
'leftLineSymbolSize',
|
||||
'tableColumnWidth'
|
||||
],
|
||||
tableHeader: [
|
||||
'tableTitleFontSize',
|
||||
'tableTitleColFontSize',
|
||||
|
@ -4,7 +4,9 @@ export const customAttrTrans = {
|
||||
size: [
|
||||
'barWidth',
|
||||
'lineWidth',
|
||||
'leftLineWidth',
|
||||
'lineSymbolSize',
|
||||
'leftLineSymbolSize',
|
||||
'funnelWidth', // 漏斗图 最大宽度
|
||||
'tableTitleFontSize',
|
||||
'tableTitleColFontSize',
|
||||
|
@ -320,6 +320,10 @@ export class ColumnLineMix extends G2PlotChartView<DualAxesOptions, DualAxes> {
|
||||
tempOption.geometryOptions[0].columnWidthRatio = columnWidthRatio
|
||||
}
|
||||
|
||||
if (super.name !== 'chart-mix-dual-line') {
|
||||
tempOption.geometryOptions[0].appendPadding = getPadding(chart)
|
||||
}
|
||||
|
||||
return tempOption
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user