-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add grouping property to traces #1028
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,7 +67,11 @@ module.exports = { | |
}, | ||
ids: { | ||
valType: 'data_array', | ||
description: 'A list of keys for object constancy of data points during animation' | ||
description: [ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @etpinard is there a way to automatically cast these to strings, or do I have to manually loop through the array, if provided, and cast them? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oops. Meant to ask for groups, but same question applies to both. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Not at the moment. Casting within As Alternatively, we could add a block to I have no preference. Your call. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, I think it's best to leave unspecified… It could be country and you could filter by inclusion in a list, or it could be a value and you could filter numerically. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As opposed to ids, which must be strings. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
very good point. |
||
'A list of unique string ids for object constancy of data points during animation.' + | ||
'For efficiency, the uniqueness of ids is not validated, but unexpected results may' + | ||
'occur if ids are not unique. *ids* is equivalent to a *key* in d3.' | ||
].join(' ') | ||
}, | ||
text: { | ||
valType: 'string', | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely description. Thanks!