* Radar charts should fill to the center by default
* Update tests for new defaults
},
elements: {
line: {
+ fill: 'start',
tension: 0 // no bezier in radar
}
}
return index === 0 ? '#ff0000'
: index === 1 ? '#00ff00'
: '#ff00ff';
- }
+ },
+ fill: true,
},
point: {
backgroundColor: '#0000ff',
title: false,
elements: {
line: {
- backgroundColor: '#00ff00'
+ backgroundColor: '#00ff00',
+ fill: true,
},
point: {
radius: 10
borderColor: '#00ff00',
borderDash: function(ctx) {
return ctx.datasetIndex === 0 ? [5] : [10];
- }
+ },
+ fill: true,
},
point: {
radius: 10