Area chart with x,y and color throws error
vivekratnavel opened this issue · 3 comments
vivekratnavel commented
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".
domoritz commented
What version are you using?
vivekratnavel commented
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).
domoritz commented
I see. There is a bug in the area code. Moved to vega/vega-lite#560