Giter Site home page Giter Site logo

Comments (7)

ebertmi avatar ebertmi commented on July 28, 2024 4

This is caused by D3 >4.0
See https://github.com/d3/d3/blob/master/CHANGES.md#ordinal-scales

from rd3.

dmk23 avatar dmk23 commented on July 28, 2024

Quick update - the problem went away when I swapped out rd3 for basic react-d3. I also checked the runtime and looks like I'm running v4.1.0 of D3 even though npm list claims I have 3.5.17

from rd3.

yang-wei avatar yang-wei commented on July 28, 2024

ES6, webpack, d3 v3.5.17, rd3 v0.6.5

Your version looks good to me. This is what I use in development too.

Opening the page resulted in the above error in the console, traced to here:

I think you forgot to paste the error?

from rd3.

dmk23 avatar dmk23 commented on July 28, 2024

The error name is in the title... The pasted code is where the debugger pointed it to...

from rd3.

dmk23 avatar dmk23 commented on July 28, 2024

So is rd3 going to get upgraded too?

I thought it is supposed to be an improved fork of the regular react-d3

from rd3.

dmk23 avatar dmk23 commented on July 28, 2024

I re-did the test while enforcing D3 v3.5.17 and now rd3 worked too

There is a different problem though. When a LineChart is open within a <Modal> from react-bootstrap, the tooltip position is way off to right. Perhaps there needs to be some adjustment as to how their position is calculated (or it should be somehow configurable)

from rd3.

yang-wei avatar yang-wei commented on July 28, 2024

There is a different problem though. When a LineChart is open within a from react-bootstrap, the tooltip position is way off to right. Perhaps there needs to be some adjustment as to how their position is calculated (or it should be somehow configurable

Let's move this to a new issue
Tooltip will be made totally configurable in the next major release

from rd3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.