* Backward compatible fill behavior for radar
},
elements: {
line: {
+ fill: 'start',
tension: 0 // no bezier in radar
}
}
title: false,
elements: {
line: {
+ fill: true,
backgroundColor: function(ctx) {
var index = (ctx.dataIndex === undefined ? ctx.datasetIndex : ctx.dataIndex);
return index === 0 ? '#ff0000'
title: false,
elements: {
line: {
+ fill: true,
backgroundColor: '#00ff00'
},
point: {
title: false,
elements: {
line: {
+ fill: true,
borderColor: '#00ff00',
borderDash: function(ctx) {
return ctx.datasetIndex === 0 ? [5] : [10];