Skip to content

Commit

Permalink
Fix tutorial test with new attach
Browse files Browse the repository at this point in the history
  • Loading branch information
veghdev committed Nov 8, 2024
1 parent e405bad commit cd6b5aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/tutorial/shorthands_store/08.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ chart.animate(
align: 'stretch',
channels: {
y: ['Popularity', 'Kinds'],
x: 'Genres',
label: { attach: 'Popularity' }
x: ['Genres'],
label: ['Popularity']
},
color: 'Kinds'
color: ['Kinds']
}
},
0
Expand Down
6 changes: 3 additions & 3 deletions docs/tutorial/shorthands_store/09.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ chart.animate({
align: 'stretch',
channels: {
y: ['Popularity', 'Kinds'],
x: 'Genres',
label: { attach: 'Popularity' }
x: ['Genres'],
label: ['Popularity']
},
color: 'Kinds'
color: ['Kinds']
}
})

0 comments on commit cd6b5aa

Please sign in to comment.