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

Expose _parsed #7615

Closed
wants to merge 1 commit into from
Closed

Expose _parsed #7615

wants to merge 1 commit into from

Conversation

benmccann
Copy link
Contributor

Closes #7563

@kurkle
Copy link
Member

kurkle commented Jul 13, 2020

controller has getParsed(index), it is not sufficient?

@benmccann
Copy link
Contributor Author

That would be a bit awkward / verbose to call from the scriptable options because you'd have to do context.chart.getMeta(context.datasetIndex).controller.getParsed(context.dataIndex)

If you want to try to reduce the number of methods we expose, I'd be okay with trying to replace getParsed with this new method. I think that'd be better performance because you wouldn't have a method call per data point, but rather just an array index per data point

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.

Improved tooltip callback parameters
2 participants