Chart.js/test/fixtures/core.scale/ticks-mirror-x.js

31 lines
444 B
JavaScript
Raw Normal View History

module.exports = {
config: {
type: 'line',
data: {
datasets: [{
data: [1, -1, 3],
}],
labels: ['Label1', 'Label2', 'Label3']
},
options: {
scales: {
x: {
ticks: {
mirror: true
}
},
y: {
display: false
}
}
}
},
options: {
spriteText: true,
canvas: {
height: 256,
width: 512
}
}
};