question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

d3.chart.eventDrops( ) undefined

See original GitHub issue

I’m using the latest version of EventDrops, with the latest version of D3 . In my code I have the following line: var eventDropsChart = d3.chart.eventDrops();

As described on readme.md, but the execution of the code returns:

Uncaught TypeError: Cannot read property 'eventDrops' of undefined
    at FileReader.reader.onloadend

Exist one specific version of D3 to be used? Chart in D3 Module is no longer supported?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
carpiediemcommented, Mar 8, 2018

@mbirabhadra , you’ll need to point to an older version or migrate your code for v1.0.1.

1reaction
jpetitcolascommented, May 2, 2017

It was indeed an issue with current EventDrops version. I opened a PR to fix it. Once merged, we’ll release another beta version.

Thanks for reporting! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Import EventDrops (D3.js) into Angular 2 - Stack Overflow
Event drops hooks to the global d3 variable, not the declared import from the 'd3' module. ... eventDrops) // or use window['d3'].chart.
Read more >
EventDrops, The Time Series Data Visualization, Gets a Major ...
This function will be evaluated for each group in order, being passed the group's parent datum (d, which may be undefined), the group...
Read more >
Why do I get JavaScript undefined property in Observable but ...
I added a cell that sets window.d3 = d3 and that makes event-drops happy. This was the issue that complained about timeFormat -...
Read more >
d3plus with Svelte: Uncaught TypeError: Cannot read property ...
Coding example for the question d3plus with Svelte: Uncaught TypeError: Cannot read property 'document' of undefined-d3.js.
Read more >
event-drops - npm
A time based / event series interactive visualization using d3.js. ... In the HTML source, create a new EventDrops chart, bind data to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found