Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

clockwise #5

Open
markbrown4 opened this issue Nov 26, 2015 · 2 comments
Open

clockwise #5

markbrown4 opened this issue Nov 26, 2015 · 2 comments

Comments

@markbrown4
Copy link

Pie segments are usually rendered clockwise, it can be flipped with a transform but I feel like clockwise should be the default and a prop to make it anti-clockwise if that's required.

<g transform={rotate(-90 ${center} ${center}) translate(0, ${size}) scale(1, -1)}>

@numerized
Copy link

I am agree, I just transformed the transform line from original code like this

{ transform: 'rotate(-90 ' + center + ' ' + center + ') translate(0, '+size+') scale(1, -1)' },

@frenic
Copy link

frenic commented Jun 22, 2016

+1

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

No branches or pull requests

3 participants