FormidableLabs / FormidableLabs/victory

Victorybar should have an option for vertically aligning the VictoryLabel within each bar

Open
#1,537 2 comments 2 reactions 0 assignees View on GitHub
Issue: Accepted Type: Enhancement :pencil2:
Dominant language
TypeScript
Stars
11.2k
Forks
536
PR merge metrics
No merged PRs in 30d

Description

# Feature Requests

### Checklist

- [x] I've read through the [Docs](https://formidable.com/open-source/victory/docs) and [Guides](https://formidable.com/open-source/victory/guides) to make sure this functionality doesn't already exist

- [x] I've searched open issues to make sure I'm not opening a duplicate issue

### Description

`VictoryBar` doesnt offer us a way to vertically align the text as part of the bar.
`VictoryLabel` provides a `dy` but we have no means to compute half the size of the bar

Screen Shot 2020-04-27 at 1 26 01 PM

![Screen Shot 2020-04-27 at 7 32 49 PM](https://user-images.githubusercontent.com/11545334/80437093-f5aa5a00-88bd-11ea-90ac-3b6bb71f9738.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.