JSBin here: http://jsbin.com/xukuhanota/1/edit?output
I'm trying to increase the height (or essentially, the top/bottom padding) of the labels (ticks?) along the x axis.
Here is the relevant bit of code for the chart:
xAxes: [{
id: 'x-axis-0',
type: 'category',
gridLines: {
display: false,
},
ticks: {
fontSize: 16,
maxRotation: 0,
fontFamily: "opensans",
fontStyle: "bold",
paddingTop: 10, // doesnt work
paddingBottom: 10, // doesnt work
},
paddingTop: 10, // doesnt work
paddingBottom: 10, // doesnt work
According to documentation, there are paddingBottom
and paddingTop
properties, but I don't know if/how they apply to the ticks vs scales.