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

Bar chart with quantitative dimension and non-linear measure has wrong stack calculation #8870

Closed
kanitw opened this issue Apr 27, 2023 · 1 comment
Labels

Comments

@kanitw
Copy link
Member

kanitw commented Apr 27, 2023

{
  "$schema": "https://vega.github.io/schema/vega-lite/v5.json",
  "description": "A simple bar chart with embedded data.",
  "data": {
    "values": [
      {"a": 3000, "b": 55}, 
      {"a": 3500, "b": 28}, 
      {"a": 4000, "b": 55}
    ]
  },
  "mark": "bar",
  "encoding": {
    "x": {"field": "a", "type": "quantitative"},
    "y": {"field": "b", "type": "quantitative", "scale": {"type": "pow"}}
  }
}

image

Domain shouldn't go to 8000

@kanitw
Copy link
Member Author

kanitw commented Apr 28, 2023

fixed in #8871

@kanitw kanitw closed this as completed Apr 28, 2023
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