Skip to content

Commit

Permalink
fix(docs): remove mark.coordinate
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini committed Jan 9, 2023
1 parent 60542c8 commit 3d9460f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion site/examples/composition/space/demo/space-flex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@ flex
)
.call((node) =>
node
.view()
.coordinate({ type: 'transpose' })
.interval()
.attr('paddingBottom', 50)
.transform({ type: 'groupX', y: 'max' })
.coordinate({ type: 'transpose' })
.axis('x', false)
.encode('x', (d) => new Date(d.date).getUTCMonth())
.encode('y', 'temp_max')
Expand Down
3 changes: 2 additions & 1 deletion site/examples/composition/space/demo/space-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ layer
.call(scaleColor);

layer
.interval()
.view()
.attr('paddingLeft', 400)
.attr('paddingBottom', 200)
.coordinate({ type: 'theta' })
.interval()
.transform({ type: 'stackY' })
.legend(false)
.scale('color', {
Expand Down

0 comments on commit 3d9460f

Please sign in to comment.