fix:图表组件添加内边距

main
liu.shiyi 1 year ago
parent 5ba2776d91
commit 51eab72389

@ -82,7 +82,7 @@ const setting = [
value: 80,
tabName: 'custom',
groupName: 'graph'
}
},
// 图例 legend,
// 内边距 appendPadding
{

@ -187,7 +187,7 @@ const setting = [
min: -100,
tabName: 'custom',
groupName: 'graph'
}
},
// 图例 legend,
// 内边距 appendPadding
{
@ -210,8 +210,6 @@ const optionHandler ='option.range.color = [option.color1, option.color2]\n' +
' let fix = option.statisticFixed\n' +
' option.statistic.title.formatter = ({ percent }) => `${(percent * 100).toFixed(fix)}%`'
// 数据处理脚本
const dataHandler = '// 取返回数据列表的第一项指标值\noption.percent = data[0][setting.filter(settingItem=>settingItem.field === \'percent\')[0].value]'

Loading…
Cancel
Save