Skip to content

setting 'temporal' and 'bin' crashes editor #9499

@MarcBaeuerle

Description

@MarcBaeuerle

I tried using type: "temporal" and "bin": { "step": 1 } in the same config and my editor instantly crashed when loading.

Only use this spec in incognito

so it doesn't get stored locally. Otherwise, the vega editor will crash before you can change anything.

{
  "data": {"url": "data/seattle-weather.csv"},
  "mark": "bar",
  "encoding": {
    "x": {"timeUnit": "month", "field": "date", "type": "temporal", "bin":  {"replace_me": 1} },
    "y": {"aggregate": "mean", "field": "precipitation"}
  }
}

replace relace_me with step to reproduce

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions