Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee committed Nov 9, 2023
1 parent 613fee6 commit ca8a40a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions test/fixtures/core.scale/tick-backdrop-alignment-inner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
module.exports = {
config: {
type: 'line',
data: {
labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'],
datasets: [
{
label: '# of Votes',
data: [12, 19, 3, 5, 2, 3],
borderWidth: 1
},
{
label: '# of Points',
data: [7, 11, 5, 8, 3, 7],
borderWidth: 1
}
]
},
options: {
events: [],
scales: {
x: {
position: 'top',
ticks: {
color: 'green',
backdropColor: 'red',
showLabelBackdrop: true,
align: 'inner',
},
}
}
}
},
options: {
canvas: {
height: 256,
width: 512
}
}
};
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ca8a40a

Please sign in to comment.