Chart.js/test/fixtures/scale.category/ticks-from-data.js
Jukka Kurkela 58999ea7ac
Bar: inflate rects by 0.33px to avoid artifacts (#9399)
* Bar: inflate rects by 0.33px to avoid artifacts
* Update fixture
* YAGNI
2021-07-13 18:20:24 -04:00

28 lines
474 B
JavaScript

module.exports = {
threshold: 0.01,
config: {
type: 'bar',
data: {
datasets: [{
data: [10, 5, 0, 25, 78],
backgroundColor: 'transparent'
}],
labels: ['tick1', 'tick2', 'tick3', 'tick4', 'tick5']
},
options: {
indexAxis: 'y',
scales: {
x: {display: false},
y: {display: true}
}
}
},
options: {
spriteText: true,
canvas: {
width: 128,
height: 256
}
}
};