Skip to content

Fix placement of BarSeries labels when stacked (#1979)#1980

Merged
VisualMelon merged 1 commit intooxyplot:developfrom
VisualMelon:Issue1979
Feb 13, 2023
Merged

Fix placement of BarSeries labels when stacked (#1979)#1980
VisualMelon merged 1 commit intooxyplot:developfrom
VisualMelon:Issue1979

Conversation

@VisualMelon
Copy link
Contributor

Fixes #1979 .

Checklist

  • I have included examples or tests
  • I have updated the change log
  • I am listed in the CONTRIBUTORS file
  • I have cleaned up the commit history (use rebase and squash)

Changes proposed in this pull request:

  • Adds an example of a stacked bar chart with labels
  • Compute 'sign' of label based on top value, rather than item value

@oxyplot/admins

@VisualMelon
Copy link
Contributor Author

Example before fix:
image

Example after fix:
image

@VisualMelon
Copy link
Contributor Author

(Fixed the example label)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IsStacked BarSeries with LabelPlacement=Outside label not placed properly

2 participants