vega/polestar

Area chart with x,y and color throws error

vivekratnavel opened this issue · 3 comments

The following spec throws an error in the console and breaks the code.

{
  "marktype": "area",
  "encoding": {
    "x": {"name": "Cylinders","type": "O"},
    "y": {"name": "Acceleration","type": "Q"},
    "color": {"name": "Miles_per_Gallon","type": "Q"}
  },
  "config": {"singleHeight": 400,"singleWidth": 400,"largeBandMaxCardinality": 20},
  "data": {"url": "data/cars.json"}
}

Can be reproduced with any field for "color".

What version are you using?

I used polestar online demo.
On Aug 19, 2015 6:18 PM, "Dominik Moritz" notifications@github.com wrote:

What version are you using?


Reply to this email directly or view it on GitHub
#310 (comment).

I see. There is a bug in the area code. Moved to vega/vega-lite#560