File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -659,11 +659,10 @@ watch(
659659onMounted (() => updateDataLabelOverflow ());
660660
661661const drawingArea = computed (() => {
662- const left = childColumnWidth .value + Math .abs (FINAL_CONFIG .value .style .chart .layout .bars .nameLabels .offsetX ) + dataLabelOverflowLeft .value ;
662+ const left = childColumnWidth .value + Math .abs (FINAL_CONFIG .value .style .chart .layout .bars .nameLabels .offsetX ) + dataLabelOverflowLeft .value + FINAL_CONFIG . value . style . chart . layout . bars . offsetX ;
663663
664664 const right = svg .value .width - svg .value .padding .right ;
665-
666- const availableWidth = Math .max (0 ,right - left - dataLabelOverflow .value - dataLabelOverflowLeft .value );
665+ const availableWidth = Math .max (0 ,right - left - dataLabelOverflow .value - dataLabelOverflowLeft .value - FINAL_CONFIG .value .style .chart .layout .bars .offsetX );
667666
668667 return {
669668 top: svg .value .padding .top ,
You can’t perform that action at this time.
0 commit comments