Skip to content

Commit

Permalink
fix: Merge conflict
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
  • Loading branch information
GordonSmith committed Mar 15, 2024
1 parent 3584805 commit 241e861
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chart/src/Column.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ export class Column extends XYAxis {
...then ASSUME THERES ROOM ON THE OPPOSITE SIDE
*/
if (isHorizontal) { // Column
noRoomInside = context.yAxisStacked() ? false : dataRect.height < textSize.height;
noRoomInside = dataRect.height < textSize.height;
isOutside = !context.valueCentered() || noRoomInside;

pos.x = dataRect.x + (dataRect.width / 2);
Expand Down

0 comments on commit 241e861

Please sign in to comment.