Skip to content

width="container" not working #253

@oheil

Description

@oheil

Implementing example
https://vega.github.io/vega-lite/examples/bar_size_responsive.html
as

using VegaLite, VegaDatasets

dataset("cars") |>
@vlplot(
    height=250,
    width="container",
    :bar,
    x="Origin:n",
    y="count()",
)

does not give the desired result.
It seems that the preset container of the result has 0 width.

From opening the VegaLite Editor and checking the code it seems that the proper code is generated.

Any ideas, whats wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions