quickchart icon indicating copy to clipboard operation
quickchart copied to clipboard

Allow overriding helpers and elements

Open Blazsoul opened this issue 4 years ago • 3 comments

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!

Blazsoul avatar Feb 16 '20 14:02 Blazsoul

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.

typpo avatar Feb 22 '20 17:02 typpo

Understood. I see how doing that as an option only requires extra computations to take place which, for a free service, isn’t helpful.

On Sat, Feb 22, 2020 at 12:13 PM Ian Webster [email protected] wrote:

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/typpo/quickchart/issues/44?email_source=notifications&email_token=AOAZKBVXLFI7LOEAXP4Z3HDREFMLFA5CNFSM4KWDZPD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVFNVY#issuecomment-589977303, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOAZKBWIDRCJN2P6AIOMWH3REFMLFANCNFSM4KWDZPDQ .

ghost avatar Feb 22 '20 17:02 ghost

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.

tariromukute avatar Jun 15 '22 12:06 tariromukute