mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
58999ea7ac
* Bar: inflate rects by 0.33px to avoid artifacts * Update fixture * YAGNI
28 lines
474 B
JavaScript
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
|
|
}
|
|
}
|
|
};
|