Commit 86a7c1f6e66ff3665f49a43eb27532463a6ff804

Authored by chenxt
1 parent 8fc583d6

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

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