}
})
}
+```
+
+Using pattern fills for data graphics can help viewers with vision deficiencies (e.g. color-blindness or partial sight) to [more easily understand your data](http://betweentwobrackets.com/data-graphics-and-colour-vision/).
+Using the [Patternomaly](https://github.com/ashiguruma/patternomaly) library you can generate patterns to fill datasets.
+
+```javascript
+var chartData = {
+ datasets: [{
+ data: [45, 25, 20, 10],
+ backgroundColor: [
+ pattern.draw('square', '#ff6384'),
+ pattern.draw('circle', '#36a2eb'),
+ pattern.draw('diamond', '#cc65fe'),
+ pattern.draw('triangle', '#ffce56'),
+ ]
+ }],
+ labels: ['Red', 'Blue', 'Purple', 'Yellow']
+};
```
+
+ ### Mixed Chart Types
+
+ When creating a chart, you have the option to overlay different chart types on top of eachother as separate datasets.
+
+ To do this, you must set a `type` for each dataset individually. You can create mixed chart types with bar and line chart types.
+
+ When creating the chart you must set the overall `type` as `bar`.
+
+ ```javascript
+ var myChart = new Chart(ctx, {
+ type: 'bar',
+ data: {
+ labels: ['Item 1', 'Item 2', 'Item 3'],
+ datasets: [
+ {
+ type: 'bar',
+ label: 'Bar Component',
+ data: [10, 20, 30],
+ },
+ {
+ type: 'line',
+ label: 'Line Component',
+ data: [30, 20, 10],
+ }
+ ]
+ }
+ });
+ ```