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

VictoryLegend's x and y props do not work in latest version 0.21.5 #729

Closed
liweifeng2 opened this issue Aug 24, 2017 · 1 comment · Fixed by FormidableLabs/victory-core#294

Comments

@liweifeng2
Copy link

VictoryLegend's x and y props work well in version 0.21.0, but no effect in version 0.21.5.

<svg width={200} height={200} viewBox={"0 0 200 2000"}>
  <VictoryPie
    standalone={false}
    ...
  />
  <VictoryLegend
    standalone={false}
    data={legendData}
    x={50}
    y={30}
    symbolSpacer={2}
    gutter={2}
  />
</svg>
@boygirl
Copy link
Contributor

boygirl commented Aug 27, 2017

@liweifeng2 thank you for pointing this out. Improvements to VictoryLegend are coming in 0.22.0. I will make sure this is addressed for that release.

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 a pull request may close this issue.

2 participants