浏览代码

柱状图系列-提示语调整

isqianming 10 月之前
父节点
当前提交
638c7f8b2e

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

@@ -950,6 +950,14 @@ export const widgetBarCompare = {
               ],
               value: 'shadow'
             },
+            {
+              type: 'vue-color',
+              label: '背景颜色',
+              name: 'tooltipBackgroundColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
             {
               type: 'el-input-number',
               label: '字体字号',
@@ -1007,6 +1015,22 @@ export const widgetBarCompare = {
               ],
               value: 'sans-serif'
             },
+            {
+              type: 'vue-color',
+              label: '边框颜色',
+              name: 'tooltipBorderColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
+            {
+              type: 'el-input-number',
+              label: '边框宽度',
+              name: 'tooltipBorderWidth',
+              required: false,
+              placeholder: '',
+              value: 0
+            },
           ],
         },
         {

+ 10 - 2
report-ui/src/views/bigscreenDesigner/designer/tools/configure/barCharts/widget-bar-double-yaxis-chart.js

@@ -1276,7 +1276,7 @@ export const widgetBarDoubleYaxis = {
               name: 'fontDistance',
               required: false,
               placeholder: '',
-              value: 0
+              value: 10
             },
             {
               type: 'vue-color',
@@ -1284,7 +1284,7 @@ export const widgetBarDoubleYaxis = {
               name: 'fontColor',
               required: false,
               placeholder: '',
-              value: ''
+              value: '#fff'
             },
             {
               type: 'el-input-number',
@@ -1374,6 +1374,14 @@ export const widgetBarDoubleYaxis = {
               ],
               value: 'shadow'
             },
+            {
+              type: 'vue-color',
+              label: '背景颜色',
+              name: 'tooltipBackgroundColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
             {
               type: 'el-input-number',
               label: '字体字号',

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

@@ -1016,7 +1016,7 @@ export const widgetBarStackMoreShow = {
                 {code: 'insideRight', name: '里右'},
                 {code: 'insideBottom', name: '里底'},
               ],
-              value: 'insideTop'
+              value: 'top'
             },
             {
               type: 'el-input-number',
@@ -1024,7 +1024,7 @@ export const widgetBarStackMoreShow = {
               name: 'fontDistance',
               required: false,
               placeholder: '',
-              value: 0
+              value: 10
             },
             {
               type: 'vue-color',
@@ -1032,7 +1032,7 @@ export const widgetBarStackMoreShow = {
               name: 'fontColor',
               required: false,
               placeholder: '',
-              value: ''
+              value: '#fff'
             },
             {
               type: 'el-input-number',
@@ -1122,6 +1122,14 @@ export const widgetBarStackMoreShow = {
               ],
               value: 'shadow'
             },
+            {
+              type: 'vue-color',
+              label: '背景颜色',
+              name: 'tooltipBackgroundColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
             {
               type: 'el-input-number',
               label: '字体字号',
@@ -1179,6 +1187,22 @@ export const widgetBarStackMoreShow = {
               ],
               value: 'sans-serif'
             },
+            {
+              type: 'vue-color',
+              label: '边框颜色',
+              name: 'tooltipBorderColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
+            {
+              type: 'el-input-number',
+              label: '边框宽度',
+              name: 'tooltipBorderWidth',
+              required: false,
+              placeholder: '',
+              value: 0
+            },
           ],
         },
         {

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

@@ -1040,7 +1040,7 @@ export const widgetBarStack = {
               name: 'fontDistance',
               required: false,
               placeholder: '',
-              value: 0
+              value: 10
             },
             {
               type: 'vue-color',
@@ -1048,7 +1048,7 @@ export const widgetBarStack = {
               name: 'fontColor',
               required: false,
               placeholder: '',
-              value: ''
+              value: '#fff'
             },
             {
               type: 'el-input-number',
@@ -1138,6 +1138,14 @@ export const widgetBarStack = {
               ],
               value: 'shadow'
             },
+            {
+              type: 'vue-color',
+              label: '背景颜色',
+              name: 'tooltipBackgroundColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
             {
               type: 'el-input-number',
               label: '字体字号',
@@ -1195,6 +1203,22 @@ export const widgetBarStack = {
               ],
               value: 'sans-serif'
             },
+            {
+              type: 'vue-color',
+              label: '边框颜色',
+              name: 'tooltipBorderColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
+            {
+              type: 'el-input-number',
+              label: '边框宽度',
+              name: 'tooltipBorderWidth',
+              required: false,
+              placeholder: '',
+              value: 0
+            },
           ],
         },
         {

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

@@ -1032,7 +1032,7 @@ export const widgetBarchart = {
                 {code: 'insideRight', name: '里右'},
                 {code: 'insideBottom', name: '里底'},
               ],
-              value: 'insideTop'
+              value: 'top'
             },
             {
               type: 'el-input-number',
@@ -1040,7 +1040,7 @@ export const widgetBarchart = {
               name: 'fontDistance',
               required: false,
               placeholder: '',
-              value: 0
+              value: 10
             },
             {
               type: 'vue-color',

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

@@ -889,7 +889,7 @@ export const widgetGradientBarchart = {
                 {code: 'insideRight', name: '里右'},
                 {code: 'insideBottom', name: '里底'},
               ],
-              value: 'insideTop'
+              value: 'top'
             },
             {
               type: 'el-input-number',
@@ -897,7 +897,7 @@ export const widgetGradientBarchart = {
               name: 'fontDistance',
               required: false,
               placeholder: '',
-              value: 0
+              value: 10
             },
             {
               type: 'vue-color',
@@ -905,7 +905,7 @@ export const widgetGradientBarchart = {
               name: 'fontColor',
               required: false,
               placeholder: '',
-              value: ''
+              value: '#fff'
             },
             {
               type: 'el-input-number',
@@ -995,6 +995,14 @@ export const widgetGradientBarchart = {
               ],
               value: 'shadow'
             },
+            {
+              type: 'vue-color',
+              label: '背景颜色',
+              name: 'tooltipBackgroundColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
             {
               type: 'el-input-number',
               label: '字体字号',
@@ -1052,6 +1060,22 @@ export const widgetGradientBarchart = {
               ],
               value: 'sans-serif'
             },
+            {
+              type: 'vue-color',
+              label: '边框颜色',
+              name: 'tooltipBorderColor',
+              required: false,
+              placeholder: '',
+              value: '#333'
+            },
+            {
+              type: 'el-input-number',
+              label: '边框宽度',
+              name: 'tooltipBorderWidth',
+              required: false,
+              placeholder: '',
+              value: 0
+            },
           ],
         },
         {

+ 3 - 0
report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarCompareChart.vue

@@ -518,6 +518,9 @@ export default {
         axisPointer: {
           type: optionsSetup.tooltipAxisPointerType,
         },
+        backgroundColor: optionsSetup.tooltipBackgroundColor,
+        borderColor: optionsSetup.tooltipBorderColor,
+        borderWidth: optionsSetup.tooltipBorderWidth,
         textStyle: {
           color: optionsSetup.tooltipColor,
           fontSize: optionsSetup.tooltipFontSize,

+ 3 - 0
report-ui/src/views/bigscreenDesigner/designer/widget/bar/widgetBarDoubleYaxisChart.vue

@@ -400,6 +400,9 @@ export default {
         axisPointer: {
           type: optionsSetup.tooltipAxisPointerType,
         },
+        backgroundColor: optionsSetup.tooltipBackgroundColor,
+        borderColor: optionsSetup.tooltipBorderColor,
+        borderWidth: optionsSetup.tooltipBorderWidth,
         textStyle: {
           color: optionsSetup.tooltipColor,
           fontSize: optionsSetup.tooltipFontSize,

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

@@ -265,6 +265,9 @@ export default {
         axisPointer: {
           type: optionsSetup.tooltipAxisPointerType,
         },
+        backgroundColor: optionsSetup.tooltipBackgroundColor,
+        borderColor: optionsSetup.tooltipBorderColor,
+        borderWidth: optionsSetup.tooltipBorderWidth,
         textStyle: {
           color: optionsSetup.tooltipColor,
           fontSize: optionsSetup.tooltipFontSize,

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

@@ -269,6 +269,9 @@ export default {
         axisPointer: {
           type: optionsSetup.tooltipAxisPointerType,
         },
+        backgroundColor: optionsSetup.tooltipBackgroundColor,
+        borderColor: optionsSetup.tooltipBorderColor,
+        borderWidth: optionsSetup.tooltipBorderWidth,
         textStyle: {
           color: optionsSetup.tooltipColor,
           fontSize: optionsSetup.tooltipFontSize,

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

@@ -380,6 +380,9 @@ export default {
         axisPointer: {
           type: optionsSetup.tooltipAxisPointerType,
         },
+        backgroundColor: optionsSetup.tooltipBackgroundColor,
+        borderColor: optionsSetup.tooltipBorderColor,
+        borderWidth: optionsSetup.tooltipBorderWidth,
         textStyle: {
           color: optionsSetup.tooltipColor,
           fontSize: optionsSetup.tooltipFontSize,