* Alphabetize element default options
* Add arc
* Add missing comma
defaults.set('elements', {
arc: {
backgroundColor: defaults.color,
+ borderAlign: 'center',
borderColor: '#fff',
- borderWidth: 2,
- borderAlign: 'center'
+ borderWidth: 2
}
});
defaults.set('elements', {
line: {
- tension: 0.4,
backgroundColor: defaultColor,
- borderWidth: 3,
- borderColor: defaultColor,
borderCapStyle: 'butt',
+ borderColor: defaultColor,
borderDash: [],
- borderDashOffset: 0.0,
+ borderDashOffset: 0,
borderJoinStyle: 'miter',
+ borderWidth: 3,
capBezierPoints: true,
- fill: true
+ fill: true,
+ tension: 0.4
}
});
defaults.set('elements', {
point: {
- radius: 3,
- pointStyle: 'circle',
backgroundColor: defaultColor,
borderColor: defaultColor,
borderWidth: 1,
- // Hover
hitRadius: 1,
+ hoverBorderWidth: 1,
hoverRadius: 4,
- hoverBorderWidth: 1
+ pointStyle: 'circle',
+ radius: 3
}
});