-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that all point position calls pass the data index.
We want position to be a function that takes `(data, dataIndex)`, but in several places we were only calling it with `(data)`. Also, data entries don't have to be objects, so guard against that -- you can set a point feature with data just equal to `{length: <number of points>}`, and then generate the positions purely based on the index.
- Loading branch information
Showing
2 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters