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

Update dataset on change rather than data #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Recodify
Copy link

@Recodify Recodify commented Dec 29, 2018

Issue #48

Previous Behavior

When updating data the chart animation transitions from the Y axis as it would when initially binding data to the chart.

chartbefore

Expected Behavior

When updating data the chart animation should transition from the current position, not the y axis.

chartafter

Cause

Instead of setting the updated data on the existing dataset, a new dataset is created so the transition always appears as it does on the initial bind.

Solution

This PR addresses this problem by updating exist data sets, if they exist and have data.

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.

1 participant