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

make config.marks.filled applied to other applicable mark types #886

Merged
merged 5 commits into from
Dec 20, 2015

Conversation

kanitw
Copy link
Member

@kanitw kanitw commented Dec 20, 2015

  • make config.marks.filled applied to other applicable mark types (bar and area)
  • consolidate rules for determining default config values.

fixes #812.

@kanitw kanitw assigned domoritz and unassigned domoritz Dec 20, 2015
@kanitw kanitw assigned kanitw and domoritz and unassigned kanitw Dec 20, 2015
@@ -248,8 +248,30 @@ export class Model {
return vals && vals.length;
}

public config(name: string) {
return this._spec.config[name];
public config(name: string, prop?: string) {
Copy link
Member

Choose a reason for hiding this comment

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

so this function returns bool, number, or value? Maybe document what it does.

@kanitw kanitw mentioned this pull request Dec 20, 2015
domoritz added a commit that referenced this pull request Dec 20, 2015
make `config.marks.filled` applied to other applicable mark types
@domoritz domoritz merged commit 2582d32 into master Dec 20, 2015
@domoritz domoritz deleted the kw/812 branch December 20, 2015 04:53
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.

Make config.marks.filled work with other mark types
2 participants