Commit 86a7c1f6e66ff3665f49a43eb27532463a6ff804

Authored by chenxt
1 parent 8fc583d6

修复对比柱状图值小的时候重叠问题

src/views/bigscreenDesigner/designer/widget/bar/widgetBarCompareChart.vue
@@ -411,7 +411,7 @@ export default { @@ -411,7 +411,7 @@ export default {
411 series[0].label = { 411 series[0].label = {
412 normal: { 412 normal: {
413 show: optionsSetup.isShow, 413 show: optionsSetup.isShow,
414 - position: 'insideLeft', 414 + position: 'insideRight',
415 textStyle: { 415 textStyle: {
416 fontSize: optionsSetup.fontSize, 416 fontSize: optionsSetup.fontSize,
417 color: optionsSetup.subTextColor, 417 color: optionsSetup.subTextColor,
@@ -426,7 +426,7 @@ export default { @@ -426,7 +426,7 @@ export default {
426 normal: { 426 normal: {
427 show: optionsSetup.isShow, 427 show: optionsSetup.isShow,
428 color: 'red', 428 color: 'red',
429 - position: 'insideRight', 429 + position: 'insideLeft',
430 textStyle: { 430 textStyle: {
431 fontSize: optionsSetup.fontSize, 431 fontSize: optionsSetup.fontSize,
432 color: optionsSetup.subTextColor, 432 color: optionsSetup.subTextColor,
@@ -440,6 +440,8 @@ export default { @@ -440,6 +440,8 @@ export default {
440 series[key].barWidth = optionsSetup.maxWidth; 440 series[key].barWidth = optionsSetup.maxWidth;
441 } 441 }
442 } 442 }
  443 + console.log(series,'series');
  444 +
443 this.options.series = series; 445 this.options.series = series;
444 }, 446 },
445 // tooltip 提示语设置 447 // tooltip 提示语设置