fix:面积图添加透明度设置

main
liu.shiyi 1 year ago
parent 249c0009a2
commit 39e285dfab

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023111401'
const version = '2023111501'
// 分类
const category = 'Area'
// 标题
@ -104,6 +104,21 @@ const setting = [
tabName: 'custom',
groupName: 'graph'
},
{
label: '面积透明度',
// 设置组件类型
type: 'inputNumber',
// 字段
field: 'areaStyle_fillOpacity',
// 对应options中的字段
optionField: 'areaStyle.fillOpacity',
value: 0.15,
tabName: 'custom',
groupName: 'graph',
step: 0.01,
max: 1,
min: 0
},
{
label: '折线点颜色',
type: 'colorPicker', // 设置组件类型
@ -530,6 +545,7 @@ const option = {
startOnZero: true,
isStack: false,
areaStyle: {
fillOpacity: 0.15,
fill: 'l(0) 0:#3e5bdb 1:#3e5bdb'
},
label: {

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023111401'
const version = '2023111501'
// 分类
const category = 'Area'
// 标题
@ -83,6 +83,21 @@ const setting = [
tabName: 'custom',
groupName: 'graph'
},
{
label: '面积透明度',
// 设置组件类型
type: 'inputNumber',
// 字段
field: 'areaStyle_fillOpacity',
// 对应options中的字段
optionField: 'areaStyle.fillOpacity',
value: 0.15,
tabName: 'custom',
groupName: 'graph',
step: 0.01,
max: 1,
min: 0
},
{
label: '折线点样式',
type: 'select',
@ -797,10 +812,10 @@ const option = {
lineWidth: 0
}
}
},
areaStyle: {
fillOpacity: 0.15
}
// areaStyle: {
// fill: "#94c6ff"
// },
// line: {
// color: ''
// },

@ -5,7 +5,7 @@
*/
// 配置版本号
const version = '2023111401'
const version = '2023111501'
// 分类
const category = 'Area'
// 标题
@ -93,6 +93,21 @@ const setting = [
tabName: 'custom',
groupName: 'graph'
},
{
label: '面积透明度',
// 设置组件类型
type: 'inputNumber',
// 字段
field: 'areaStyle_fillOpacity',
// 对应options中的字段
optionField: 'areaStyle.fillOpacity',
value: 0.15,
tabName: 'custom',
groupName: 'graph',
step: 0.01,
max: 1,
min: 0
},
{
label: '折线点大小',
type: 'inputNumber',
@ -593,6 +608,7 @@ const option = {
startOnZero: true,
isStack: false,
areaStyle: {
fillOpacity: 0.15,
fill: 'l(270) 0:#ffffff 1:#1890ff'
},
line: {

Loading…
Cancel
Save