Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

band property doesn't work with field with timeUnit as ordinal #5970

Closed
kanitw opened this issue Feb 24, 2020 · 2 comments · Fixed by #6187
Closed

band property doesn't work with field with timeUnit as ordinal #5970

kanitw opened this issue Feb 24, 2020 · 2 comments · Fixed by #6187
Assignees
Labels
Bug 🐛 P3 Should be fixed at some point

Comments

@kanitw
Copy link
Member

kanitw commented Feb 24, 2020

{
  "$schema": "https://vega.github.io/schema/vega-lite/v4.json",
  "description": "Google's stock price over time.",
  "data": {"url": "data/stocks.csv"},
  "transform": [{"filter": "datum.symbol==='GOOG'"}],
  "mark": "line",
  "encoding": {
    "x": {"timeUnit": "month", "field": "date", "type": "ordinal", "band": 1, "scale": {"type": "band"}},
    "y": {"field": "price", "type": "quantitative"}
  }
}

(Setting band to 0 or 1 doesn't change anything.)

@kanitw
Copy link
Member Author

kanitw commented Mar 28, 2020

Will be fixed in #5970

@kanitw kanitw closed this as completed Mar 28, 2020
@domoritz
Copy link
Member

Circular reference?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 P3 Should be fixed at some point
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants