mirror of
https://gitee.com/anji-plus/report.git
synced 2026-02-02 09:27:47 +08:00
feat--柱线图Y轴增加配置项
This commit is contained in:
@@ -541,6 +541,14 @@ export const widgetBarLineStack = {
|
||||
placeholder: '',
|
||||
value: true,
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '最大值',
|
||||
name: 'maxYLeft',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
@@ -666,6 +674,14 @@ export const widgetBarLineStack = {
|
||||
placeholder: '',
|
||||
value: true,
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '最大值',
|
||||
name: 'maxYRight',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
|
||||
@@ -549,6 +549,14 @@ export const widgetBarlinechart = {
|
||||
placeholder: '',
|
||||
value: true,
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '最大值',
|
||||
name: 'maxYLeft',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
@@ -674,6 +682,14 @@ export const widgetBarlinechart = {
|
||||
placeholder: '',
|
||||
value: true,
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '最大值',
|
||||
name: 'maxYRight',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
|
||||
@@ -561,6 +561,14 @@ export const widgetMoreBarLine = {
|
||||
placeholder: '',
|
||||
value: true,
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '最大值',
|
||||
name: 'maxYLeft',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
@@ -686,6 +694,14 @@ export const widgetMoreBarLine = {
|
||||
placeholder: '',
|
||||
value: true,
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '最大值',
|
||||
name: 'maxYRight',
|
||||
required: false,
|
||||
placeholder: '',
|
||||
value: '',
|
||||
},
|
||||
{
|
||||
type: 'el-input-text',
|
||||
label: '坐标名',
|
||||
|
||||
@@ -212,6 +212,7 @@ export default {
|
||||
const optionsSetup = this.optionsSetup;
|
||||
const yAxis = [
|
||||
{
|
||||
max: optionsSetup.maxYLeft !== "" ? optionsSetup.maxYLeft : null,
|
||||
type: "value",
|
||||
// 均分
|
||||
splitNumber: optionsSetup.splitNumberLeft,
|
||||
@@ -254,6 +255,7 @@ export default {
|
||||
},
|
||||
},
|
||||
{
|
||||
max: optionsSetup.maxYRight !== "" ? optionsSetup.maxYRight : null,
|
||||
type: "value",
|
||||
// 均分
|
||||
splitNumber: optionsSetup.splitNumberRight,
|
||||
|
||||
@@ -219,6 +219,7 @@ export default {
|
||||
const optionsSetup = this.optionsSetup;
|
||||
const yAxis = [
|
||||
{
|
||||
max: optionsSetup.maxYLeft !== "" ? optionsSetup.maxYLeft : null,
|
||||
type: "value",
|
||||
// 均分
|
||||
splitNumber: optionsSetup.splitNumberLeft,
|
||||
@@ -261,6 +262,7 @@ export default {
|
||||
},
|
||||
},
|
||||
{
|
||||
max: optionsSetup.maxYRight !== "" ? optionsSetup.maxYRight : null,
|
||||
type: "value",
|
||||
// 均分
|
||||
splitNumber: optionsSetup.splitNumberRight,
|
||||
|
||||
@@ -279,6 +279,7 @@ export default {
|
||||
const optionsSetup = this.optionsSetup;
|
||||
const yAxis = [
|
||||
{
|
||||
max: optionsSetup.maxYLeft !== "" ? optionsSetup.maxYLeft : null,
|
||||
type: "value",
|
||||
// 均分
|
||||
splitNumber: optionsSetup.splitNumberLeft,
|
||||
@@ -321,6 +322,7 @@ export default {
|
||||
},
|
||||
},
|
||||
{
|
||||
max: optionsSetup.maxYRight !== "" ? optionsSetup.maxYRight : null,
|
||||
type: "value",
|
||||
// 均分
|
||||
splitNumber: optionsSetup.splitNumberRight,
|
||||
|
||||
Reference in New Issue
Block a user