Skip to content

Commit

Permalink
Merge pull request #604 from vizzuhq/fix_tutorial_test
Browse files Browse the repository at this point in the history
Fix tutorial test with new attach
  • Loading branch information
schaumb authored Nov 8, 2024
2 parents e405bad + cd6b5aa commit aafc66d
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 aafc66d

Please sign in to comment.