From f0453acf6bc27d8038e8601217980e4281768674 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 25 五月 2021 11:54:47 +0800 Subject: [PATCH] 2021-05-25 --- src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx | 47 +++++++++++++++++++++++++---------------------- 1 files changed, 25 insertions(+), 22 deletions(-) diff --git a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx index fcfeb2f..817a0a5 100644 --- a/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx +++ b/src/menu/components/chart/antv-bar/chartcompile/formconfig.jsx @@ -174,16 +174,14 @@ { value: 'query', text: Formdict['header.form.query'] }, { value: 'statistics', text: Formdict['header.form.statistics'] } ] - }, - { + }, { type: 'select', key: 'Xaxis', label: 'X-杞�', initVal: card.Xaxis || '', required: true, options: xfields - }, - { + }, { type: 'select', key: 'InfoType', label: '绫诲瀷', @@ -191,8 +189,7 @@ hidden: card.datatype !== 'statistics', required: true, options: xfields - }, - { + }, { type: 'select', key: 'InfoValue', label: '鍊�', @@ -200,8 +197,7 @@ hidden: card.datatype !== 'statistics', required: true, options: yfields - }, - { + }, { type: 'select', key: 'legend', label: '鍥句緥浣嶇疆', @@ -222,8 +218,7 @@ { field: 'left-bottom', label: '宸︿笅' }, { field: 'hidden', label: '闅愯棌' } ] - }, - { + }, { type: 'select', key: 'Yaxis', label: 'Y-杞�', @@ -232,16 +227,14 @@ hidden: card.datatype === 'statistics', required: true, options: yfields - }, - { + }, { type: 'select', key: 'shape', label: '褰㈢姸', initVal: card.shape || (shapes[0] && shapes[0].field), required: false, options: shapes - }, - { + }, { type: 'radio', key: 'tooltip', label: '鎮诞鎻愮ず', @@ -254,8 +247,7 @@ value: 'false', text: '闅愯棌' }] - }, - { + }, { type: 'radio', key: 'point', label: '鐐瑰浘', @@ -269,8 +261,7 @@ value: 'false', text: '闅愯棌' }] - }, - { + }, { type: 'radio', key: 'transpose', label: '鍙樻崲', @@ -284,8 +275,7 @@ value: 'false', text: Formdict['model.false'] }] - }, - { + }, { type: 'radio', key: 'show', label: '鏍煎紡鍖�', @@ -298,8 +288,7 @@ value: 'percent', text: '鐧惧垎姣�' }] - }, - { + }, { type: 'radio', key: 'label', label: '鏍囨敞鍊�', @@ -312,6 +301,20 @@ value: 'false', text: '闅愯棌' }] + // }, { + // type: 'radio', + // key: 'offset', + // label: '鏍囨敞浣嶇疆', + // initVal: card.offset || 'outer', + // required: false, + // options: [{ + // value: 'outer', + // text: '澶栭儴' + // }, { + // value: 'inner', + // text: '鍐呴儴' + // }], + // forbid: card.chartType !== 'bar' }, { type: 'radio', key: 'adjust', -- Gitblit v1.8.0