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

Initial interactive examples. #1982

Merged
merged 2 commits into from
Feb 25, 2017
Merged

Initial interactive examples. #1982

merged 2 commits into from
Feb 25, 2017

Conversation

arvind
Copy link
Member

@arvind arvind commented Feb 25, 2017

Four interactive examples to kick us off:

  1. Rectangular brush:
    brush

  2. Paintbrush
    paintbrush

  3. Pan & Zoom a Scatterplot
    panzoom_scatter

  4. Dynamic query widgets -- this one would greatly benefit from zindex support (Use zindex for layer order channel instead  #1684).
    query_widgets

@arvind arvind requested a review from kanitw February 25, 2017 01:32
@kanitw
Copy link
Member

kanitw commented Feb 25, 2017

These look awesome!

@kanitw kanitw merged commit 4fb82ed into master Feb 25, 2017
@kanitw kanitw deleted the as/selectionExamples branch February 25, 2017 03:31
"y": {"field": "Miles_per_Gallon", "type": "quantitative"},
"color": {
"field": "Cylinders", "type": "ordinal",
"condition": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@arvind A follow up question

Stylistically, I'm wondering if we should put condition before other properties so it feels more like if-else

condition: { value for condition }
...value for else...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will make the change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done with 0a222b3.

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.

2 participants