chartjs-to-image icon indicating copy to clipboard operation
chartjs-to-image copied to clipboard

Gradient fill unsupported?

Open basvdploeg opened this issue 10 months ago • 1 comments

QuickChart supports gradients for backgroundColor by the use of getGradientFill and getGradientFillHelper, but I can't get this to work with charts-to-image. Is this just unsupported, or am I doing something wrong?

https://github.com/typpo/quickchart-js#using-built-in-quickchart-functions

basvdploeg avatar Aug 19 '23 18:08 basvdploeg

Hmm, it should be supported just fine. Do you have an example?

Another potential solution is to swap to quickchart-js, the usage is exactly the same as chartjs-to-image but it has built-in QuickChart function helpers described here: https://github.com/typpo/quickchart-js/#using-built-in-quickchart-functions

typpo avatar Aug 20 '23 03:08 typpo