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

Dev 76: Be able to set a property (like attr.fill) #79

Merged
merged 4 commits into from
Jul 12, 2018
Merged

Dev 76: Be able to set a property (like attr.fill) #79

merged 4 commits into from
Jul 12, 2018

Conversation

melalj
Copy link
Member

@melalj melalj commented Jul 11, 2018

Related to #76

@@ -257,6 +257,21 @@ For example, if we want to have countries background color to be related to a sc
}
```

The value can also be a function that have a parameter a `groupedData` and returns the value. You can define your own logic to generate the attribute value, for example:
Copy link
Contributor

Choose a reason for hiding this comment

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

yay for keeping the docs up to date. thanks!

@@ -1,4 +1,4 @@
/* MapTable 1.5.3 */this.d3 = this.d3 || {};
Copy link
Contributor

Choose a reason for hiding this comment

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

per my other comment, let's keep this in here so that the dist files have this at the very top. super handy to know which version you're running! since you deleted it here, i'll make this the blocking request.

Copy link
Member Author

Choose a reason for hiding this comment

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

Will add it programmatically with the gulp command

@@ -0,0 +1,39 @@
<!DOCTYPE html>
Copy link
Contributor

Choose a reason for hiding this comment

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

a readme update AND a new example - nice job!!

@melalj melalj merged commit 0b84690 into master Jul 12, 2018
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