chartjs-to-image
chartjs-to-image copied to clipboard
Gradient fill unsupported?
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
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