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

Fix For Adding And Removing Datasets For Bar Samples #5663

Merged

Conversation

TPullen21
Copy link
Contributor

Fix for #5662

Now accounts for zero indexing of arrays when creating a name for an added dataset.
Now removes the last dataset in the array when removing a dataset rather than removing the first.

Copy link
Contributor

@benmccann benmccann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix

@simonbrunel simonbrunel added this to the Version 2.8 milestone Aug 8, 2018
@simonbrunel simonbrunel merged commit ab41173 into chartjs:master Aug 8, 2018
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
Account for zero indexing of arrays when creating a name for an added dataset and remove the last dataset in the array when removing a dataset rather than removing the first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants