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

Line overlay only shows one line for ranged area #8474

Open
kanitw opened this issue Oct 11, 2022 · 0 comments
Open

Line overlay only shows one line for ranged area #8474

kanitw opened this issue Oct 11, 2022 · 0 comments
Labels

Comments

@kanitw
Copy link
Member

kanitw commented Oct 11, 2022

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "title": "Seattle Temperature Range, 2012-2015",
  "data": {"url": "data/seattle-weather.csv"},
  "width": 600,
  "height": 300,
  "mark": {"type": "area", "line": true},
  "encoding": {
    "x": {
      "axis": {"format": "%b"}, 
      "title": "Date",
      "field": "date",
      "timeUnit": "month"
    }, 
    "y": {
      "title": "Daily Temperature Range (C)",
      "aggregate": "max",
      "field": "temp_max"
    },
    "y2": {"aggregate": "min", "field": "temp_min"},
    "opacity": {"value": 0.7}
  }
}

Currently it looks like this.

image

With #8472 (review), it will show one line at the top, instead of two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant