Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sankey chart: fix labels' horizontal position #916

Merged
merged 1 commit into from
Aug 20, 2018
Merged

sankey chart: fix labels' horizontal position #916

merged 1 commit into from
Aug 20, 2018

Conversation

zachguo
Copy link
Contributor

@zachguo zachguo commented Aug 20, 2018

fix #906

before:
screen shot 2018-08-20 at 2 14 58 pm

after:
screen shot 2018-08-20 at 2 15 27 pm

@mcnuttandrew
Copy link
Contributor

This seems like it is more wrong than the previous version to me? Like now the labels are overlapping

@zachguo
Copy link
Contributor Author

zachguo commented Aug 20, 2018

@mcnuttandrew I guess rotation should be used when there are overlapping labels? Overlapping labels can happen whenever labels are long enough. This PR is just trying to fix text horizontal alignment.
screen shot 2018-08-20 at 2 31 53 pm

@mcnuttandrew
Copy link
Contributor

Fair enough, in that line I'm cool with that change, I'm adding some more functionality to enable that type of per label behaviour #918

@mcnuttandrew mcnuttandrew merged commit 7b0aad2 into uber:master Aug 20, 2018
@zachguo
Copy link
Contributor Author

zachguo commented Aug 20, 2018

@mcnuttandrew That's cool. And thanks for your quick responses on these PRs!

dvnrsn pushed a commit to dvnrsn/react-vis that referenced this pull request Aug 21, 2018
* Make scatterplot voronoi more visible

* impove previous voronoi scatterplot example

center sankey chart labels (uber#915)

fix horizontal position for sankey chart labels (uber#916)

Make voronoi component automatically infer scales and extent (uber#917)

* Make voronoi component automatically infer scales and extent

* fix lint

* address nits

include option to specify padAngle, default to 0

Merge pull request #1 from uber/master

merge changes
add documentation for use in arc-series and radial-chard

Merge branch 'master' of github.com:dvnrsn/react-vis

adjust base radial chart test to make sure padAngle prop doesn't break

Add default padangle to radius chart

allow padangle to be either function or number, make invocation more ter
ayarcohaila pushed a commit to ayarcohaila/react-vis that referenced this pull request Jun 30, 2021
ayarcohaila added a commit to ayarcohaila/react-vis that referenced this pull request May 30, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sankey label position
2 participants