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

Support stacked charts with both detail and color #878

Merged
merged 2 commits into from
Dec 18, 2015
Merged

Conversation

kanitw
Copy link
Member

@kanitw kanitw commented Dec 16, 2015

Fixes #877

@kanitw kanitw changed the title [WIP] Support stacked charts with both detail and color -- #877 Support stacked charts with both detail and color Dec 18, 2015
@kanitw
Copy link
Member Author

kanitw commented Dec 18, 2015

@jpocom @domoritz ready for review.

This spec works now

{
"mark": "area",
"encoding": {
"x": {
"field": "Year",
"type": "temporal",
"timeUnit": "year"
},
"y": {
"field": "*",
"aggregate": "count",
"type": "quantitative",
"displayName": "Number of Records"
},
"color": {
"bin": true,
"field": "Acceleration",
"type": "quantitative"
},
"detail": {
"bin": true,
"field": "Displacement",
"type": "quantitative"
}
},
"data": {
"url": "data/cars.json"
}
}

domoritz added a commit that referenced this pull request Dec 18, 2015
Support stacked charts with both detail and color
@domoritz domoritz merged commit 062d31f into master Dec 18, 2015
@domoritz domoritz deleted the kw/multi-stack branch December 18, 2015 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants