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

Support for animations while rendering #27

Merged
merged 3 commits into from
Sep 1, 2016

Conversation

prithsharma
Copy link
Contributor

I think animate should also be exposed as a function to be called on the component, will need to work on that. I am not very well versed with Java, @hongyin163 may be you can guide me?

Right now, the chart will be animated while rendering the component(or re-rendering on updating dataset) by passing the appropriate config in the dataSet like following -

{
  xValues: ,
  yValues: [],
  animateX: {
    duration: <integer> [time in milliseconds],
  },
}

or

{
  xValues: ,
  yValues: [],
  animateXY: {
    durationX: <integer> [time in milliseconds],
    durationY: <integer> [time in milliseconds],
  }
}

@hongyin163 hongyin163 merged commit e9724ca into hongyin163:master Sep 1, 2016
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.

2 participants