Closed
Description
I'm building a bunch of charts for my project and I just noticed an oddity in vertical bar graphs I am not seeing in line charts. The bar charts don't display the right border. I have tried placing 'drawBorder: true' in both Axes but nothing has changed. Is this a bug or am I missing something in the documentation?
Below is my config for the graph
var config = {
type: 'bar',
data: {
labels: xdata,
datasets: [{
label: 'Fake',
data: supply,
borderColor: primary,
backgroundColor: primary
}]
},
options:
{
title: {
display: true,
text: "Fake",
fontSize: 22,
fontStyle: 'bold',
fontColor: '#000000'
},
legend: {
display: false,
position: 'right'
},
layout: {
padding: { left: 10, right: 80, bottom: 10, top: 10 }
},
scales: {
xAxes: [{
gridLines: {
drawBorder: true
},
scaleLabel: {
display: true,
labelString: 'Fake',
fontStyle: 'bold',
fontSize: 16
}
}],
yAxes: [{
ticks: {
min: 0
},
gridLines: {
drawBorder: true
},
scaleLabel: {
display: true,
labelString: 'Fake',
fontStyle: 'bold',
fontSize: 16
}
}]
}
}
};
Notice the line chart with no settings altered for the borders works fine
In fact the bar chart in the documentation has the same issue.