Przeglądaj źródła

feat--柱体设置调整优化

qianming 1 rok temu
rodzic
commit
59dcde8888

+ 8 - 0
report-ui/src/views/bigscreenDesigner/designer/tools/configure/barCharts/widget-bar-stack-more-show.js

@@ -52,6 +52,14 @@ export const widgetBarStackMoreShow = {
               placeholder: '',
               value: 10,
             },
+            {
+              type: 'el-slider',
+              label: '最小高度',
+              name: 'minHeight',
+              require: false,
+              placeholder: '',
+              value: 0,
+            },
             {
               type: 'el-switch',
               label: '背景显示',

+ 8 - 0
report-ui/src/views/bigscreenDesigner/designer/tools/configure/barCharts/widget-bar-stack.js

@@ -79,6 +79,14 @@ export const widgetBarStack = {
               placeholder: '',
               value: 10,
             },
+            {
+              type: 'el-slider',
+              label: '最小高度',
+              name: 'minHeight',
+              require: false,
+              placeholder: '',
+              value: 0,
+            },
             {
               type: 'el-switch',
               label: '背景显示',

+ 8 - 0
report-ui/src/views/bigscreenDesigner/designer/tools/configure/barCharts/widget-gradient-barchart.js

@@ -67,6 +67,14 @@ export const widgetGradientBarchart = {
               placeholder: '',
               value: 10,
             },
+            {
+              type: 'el-slider',
+              label: '最小高度',
+              name: 'minHeight',
+              require: false,
+              placeholder: '',
+              value: 0,
+            },
             {
               type: 'el-switch',
               label: '背景显示',

+ 9 - 1
report-ui/src/views/bigscreenDesigner/designer/tools/configure/barlineCharts/widget-bar-line-stack.js

@@ -33,7 +33,7 @@ export const widgetBarLineStack = {
           list: [
             {
               type: 'el-slider',
-              label: '宽度',
+              label: '最大宽度',
               name: 'maxWidth',
               required: false,
               placeholder: '',
@@ -55,6 +55,14 @@ export const widgetBarLineStack = {
               placeholder: '',
               value: 10,
             },
+            {
+              type: 'el-slider',
+              label: '最小高度',
+              name: 'minHeight',
+              require: false,
+              placeholder: '',
+              value: 0,
+            },
             {
               type: 'el-select',
               label: '堆叠样式',

+ 8 - 0
report-ui/src/views/bigscreenDesigner/designer/tools/configure/barlineCharts/widget-more-bar-line.js

@@ -59,6 +59,14 @@ export const widgetMoreBarLine = {
               placeholder: '',
               value: 10,
             },
+            {
+              type: 'el-slider',
+              label: '最小高度',
+              name: 'minHeight',
+              require: false,
+              placeholder: '',
+              value: 0,
+            },
             {
               type: 'el-select',
               label: '堆叠样式',

+ 2 - 0
report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarStackChart.vue

@@ -363,6 +363,7 @@ export default {
           type: "bar",
           data: data,
           barGap: optionsSetup.barGap + "%",
+          barMinHeight: optionsSetup.minHeight,
           stack: this.getStackStyle(),
           barWidth: optionsSetup.maxWidth,
           label: {
@@ -470,6 +471,7 @@ export default {
             type: "bar",
             data: val.series[i].data,
             barGap: optionsSetup.barGap + "%",
+            barMinHeight: optionsSetup.minHeight,
             stack: this.getStackStyle(),
             barWidth: optionsSetup.maxWidth,
             label: {

+ 2 - 0
report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarStackMoreShowChart.vue

@@ -349,6 +349,7 @@ export default {
           type: "bar",
           data: item.list.map((item) => item.data),
           barGap: optionsSetup.barGap + "%",
+          barMinHeight: optionsSetup.minHeight,
           barWidth: optionsSetup.maxWidth,
           label: {
             show: optionsSetup.isShow,
@@ -450,6 +451,7 @@ export default {
           type: "bar",
           data: item.list.map((item) => item.data),
           barGap: optionsSetup.barGap + "%",
+          barMinHeight: optionsSetup.minHeight,
           barWidth: optionsSetup.maxWidth,
           label: {
             show: optionsSetup.isShow,

+ 1 - 0
report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetGradientColorBarchart.vue

@@ -307,6 +307,7 @@ export default {
       const series = this.options.series;
       if (series[0].type == "bar") {
         series[0].barGap = optionsSetup.barGap + "%";
+        series[0].barMinHeight = optionsSetup.minHeight;
         series[0].label = {
           show: optionsSetup.isShow,
           position: optionsSetup.fontPosition,

+ 2 - 0
report-ui/src/views/bigscreenDesigner/designer/widget/barline/widgetBarLineStackChart.vue

@@ -452,6 +452,7 @@ export default {
           type: "bar",
           data: bar,
           barGap: optionsSetup.barGap + "%",
+          barMinHeight : optionsSetup.minHeight,
           stack: this.getStackStyle(),
           barWidth: optionsSetup.maxWidth,
           label: {
@@ -599,6 +600,7 @@ export default {
           type: "bar",
           data: bar,
           barGap: optionsSetup.barGap + "%",
+          barMinHeight : optionsSetup.minHeight,
           stack: this.getStackStyle(),
           barWidth: optionsSetup.maxWidth,
           label: {

+ 2 - 0
report-ui/src/views/bigscreenDesigner/designer/widget/barline/widgetMoreBarLineChart.vue

@@ -492,6 +492,7 @@ export default {
           series[i].name = legendName[i];
           series[i].type = "bar";
           series[i].barGap = optionsSetup.barGap + "%";
+          series[i].barMinHeight = optionsSetup.minHeight;
           series[i].stack = this.getStackStyle();
           series[i].label = {
             show: optionsSetup.isShowBar,
@@ -620,6 +621,7 @@ export default {
           obj.name = val.series[i].name;
           obj.type = val.series[i].type;
           obj.barGap = optionsSetup.barGap + "%";
+          obj.barMinHeight = optionsSetup.minHeight;
           obj.stack = this.getStackStyle();
           obj.label = {
             show: optionsSetup.isShowBar,