-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Ticks callback missing scope #135
Comments
Hi @sspread, access to the chart context is limited in the Community version of QuickChart due to more CPU-intensive sandboxing requirements. You can access the chart context by using the self-hosted version (which is not fully sandboxed) or the paid version of QuickChart. A quick workaround would be to just use |
@typpo I see, thanks for explaining the limitations. I don't believe |
Can you show me an example? I can suggest an alternative. |
Expecting callback to contain scope of
this
as seen in this charts.js example: https://www.chartjs.org/docs/latest/samples/scale-options/ticks.htmlMore info https://www.chartjs.org/docs/latest/axes/labelling.html
I.e.
this.getLabelForValue
should be available, but it is not.The text was updated successfully, but these errors were encountered: