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

Allow overriding helpers and elements #44

Open
Blazsoul opened this issue Feb 16, 2020 · 3 comments
Open

Allow overriding helpers and elements #44

Blazsoul opened this issue Feb 16, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@Blazsoul
Copy link

Blazsoul commented Feb 16, 2020

Hi
I tried to find a way to send helpers and elements callbacks like in this 2 examples(in order to achieve rounded corners):

https://jsfiddle.net/uffo/5oty49r3/6/
https://codepen.io/jordanwillis/pen/jBoppb

Maybe there is a way but i didn't find any mention in the code.
That would be great feature

Anyway thanks for the support!

@typpo
Copy link
Owner

typpo commented Feb 22, 2020

This feature is tricky because I am wary of encouraging custom Javascript (which places stress on the free servers), plus the helper functions need to be specified outside of the "chart" object context! Let me do some thinking about how to best do this.

@ghost
Copy link

ghost commented Feb 22, 2020 via email

@typpo typpo added the enhancement New feature or request label Jul 6, 2020
@tariromukute
Copy link

Hey @typpo thanks for open sourcing your solution. Any update on the issue above. I am trying to create a graph with a custom plugin that uses the context. I also see on issue #103 you state that QuickChart doesn't have access to your execution context.

If the issue is mainly around placing stress on the free servers, is there an option to support this on self hosted QuickChart. If so any pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants