Skip to content

Whats the proper way of setting the viewbox to Auto #715

Answered by Fil
Emporea asked this question in Q&A
Discussion options

You must be logged in to vote

You can control the dimensions of the returned chart by explicitly setting width and height:

Plot.plot({
  width: 500,
  height: 300,
  marks: [...]
})

If this doesn't answer your question, please be more specific and include an example?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Emporea
Comment options

@Fil
Comment options

Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants