Skip to content

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