Colors
You can also pass a CanvasGradient object. You will need to create this before passing to the chart, but using it you can achieve some interesting effects.
For example, if you wanted to fill a dataset with a pattern from an image you could do the following.
Using the library you can generate patterns to fill datasets.
var chartData = {
datasets: [{
backgroundColor: [
pattern.draw('square', '#ff6384'),
pattern.draw('circle', '#36a2eb'),
pattern.draw('triangle', '#ffce56'),
]
}],
};