!bar borderWidth

This commit is contained in:
Tanner Linsley 2015-06-02 17:29:17 -06:00
parent 4ded634d75
commit 02d7442e4f
2 changed files with 3 additions and 2 deletions

View File

@ -102,6 +102,7 @@
dataset.metaData.push(new Chart.Rectangle({
_chart: this.chart,
_datasetIndex: datasetIndex,
_index: index,
}));
}, this);

View File

@ -130,7 +130,7 @@
},
bar: {
backgroundColor: defaultColor,
borderWidth: 2,
borderWidth: 0,
borderColor: defaultColor,
valueSpacing: 5,
datasetSpacing: 1,
@ -1474,8 +1474,8 @@
Chart.Rectangle = Chart.Element.extend({
draw: function() {
var vm = this._view;
var ctx = this._chart.ctx;
var vm = this._view;
var halfWidth = vm.width / 2,
leftX = vm.x - halfWidth,