Comments (7)
This is caused by D3 >4.0
See https://github.com/d3/d3/blob/master/CHANGES.md#ordinal-scales
from rd3.
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.
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.
The error name is in the title... The pasted code is where the debugger pointed it to...
from rd3.
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.
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.
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)
- Inconsistent strokeWidth PropTypes HOT 1
- charts are overlapped. HOT 1
- Child nodes attaching to chart or graph
- Legend Text Style
- Handling missing values HOT 2
- `Props.colors.domain` prevents custom colors
- Transition to `import PropTypes from 'prop-types'` from `React.PropTypes` HOT 5
- Data point dots in line graph can be the wrong color. HOT 2
- update handlebars
- initial feedback for new V1 API
- How do i change the legend position? HOT 2
- Request for Bullet Chart HOT 1
- How to add labels for the plots in Line chart HOT 1
- findDOMNode(this) returns null in _animateCircle() HOT 1
- rd3 version in jsfiddle
- Maintain HOT 26
- window.React HOT 1
- Exporting common components. HOT 3
- svg doesn't fit its parent in the LegendChart on firefox HOT 1
- Unable to use strings as x value in Line Chart HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rd3.