mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 20:29:12 +02:00
!bar borderWidth
This commit is contained in:
parent
4ded634d75
commit
02d7442e4f
@ -102,6 +102,7 @@
|
||||
dataset.metaData.push(new Chart.Rectangle({
|
||||
_chart: this.chart,
|
||||
_datasetIndex: datasetIndex,
|
||||
_index: index,
|
||||
}));
|
||||
}, this);
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user