marmelab / EventDrops

A time based / event series interactive visualization using d3.js

Home Page:http://marmelab.com/EventDrops/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Individual drop color is calculated wrong when adding/removing drops from viewport

lajtmaN opened this issue · comments

I use inidividually colored drops, which is colored based on some data related to each drop.
When panning or zooming the timelines and new drops appear, the color changes on all drops on that line, instead of only the new drop.

Please see this example: https://a.uguu.se/UP4TCkFVGhWg_2018-05-02_13-02-12.mp4
It is expected that the red drop remains red and not change to green.

  • EventDrops version: 1.2.0

I just opened what appears to be a duplicate of this issue and I see no one has responded in 20 days. This is not a good sign. I'll make a note in my new issue pointing to this one.

@martyquinn: don't worry, this project is not dead, even if no activity in last weeks. We are working on this project on our spare time, and hence, we don't guarantee any resolution time. But we'll take a look on it.

A similar problem occurs with radius. If we have a radius function which depends of the data point when panning or zooming the timelines and new drops appear, the radius changes on all drops on that line, instead of only the new drop.
When zoomed out the point radius isn't honored. We can have a huge circle almost hidden that only becomes visible when zooming in.