Chart.js/test/fixtures/core.scale/title/align-start.js
Evert Timberg 6ac89cbb25
Rename scale gridLines options to be clearer (#8628)
* Rename `options.gridLines` to `options.grid`

* Rename `offsetGridLines` to `offset`
2021-03-13 19:49:09 +02:00

78 lines
1.4 KiB
JavaScript

module.exports = {
config: {
type: 'line',
options: {
events: [],
scales: {
top: {
type: 'linear',
position: 'top',
ticks: {
display: false
},
grid: {
display: false
},
title: {
display: true,
align: 'start',
text: 'top'
}
},
left: {
type: 'linear',
position: 'left',
ticks: {
display: false
},
grid: {
display: false
},
title: {
display: true,
align: 'start',
text: 'left'
}
},
bottom: {
type: 'linear',
position: 'bottom',
ticks: {
display: false
},
grid: {
display: false
},
title: {
display: true,
align: 'start',
text: 'bottom'
}
},
right: {
type: 'linear',
position: 'right',
ticks: {
display: false
},
grid: {
display: false
},
title: {
display: true,
align: 'start',
text: 'right'
}
},
}
}
},
options: {
spriteText: true,
canvas: {
height: 256,
width: 256
},
}
};