-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Gradients not working #43
Comments
Thanks for the report. It looks like there is a gap in capability because the I think the solution is for QuickChart to provide a predefined function
|
Thanks for the really fast response and deploy, it worked!
Because my function was just for testing purposes, its really not generic. The new function(the default values are just for readability like typescript):
Example: |
Thanks, I'll add the generalized function later today and update this thread. I agree the use of the function is very clumsy when using javascript-stringify.. I'll see if I can think of a better way. |
Hi @Blazsoul, I've updated the API with a generalized
I've also added a helper function
You can try it out, and if this all looks good to you I'll add it to the documentation. |
Works great! Example(look at week and quarter, its the same gradient): My suggestion: |
Hey @Blazsoul, sorry for the delay. I've added an optional dimensions parameter that lets the user specify width and height:
|
Works great, thanks! |
Hi, first of all many thanks for this amazing library
I have noticed that i cant pass gradient color in any way. Currently i am using POST method and stringify the chart parameter so it will be transformed to code on the server side.
And for some reason the gradient color transcoded to undefined after i use stringify
I am wondering if it is even possible to pass gradients
This is my code:
The text was updated successfully, but these errors were encountered: