Comments (7)
+1
from react-d3-shape.
@fyyyyy @stevesuh Same issue here. Have you figured out how to fix this?
from react-d3-shape.
Dont use non-integer data for bar charts axis, e.g. date
from react-d3-shape.
Has there been any update to this? I see that I can get a time axis with Line Charts, but I cannot seem do it with a basic bar chart - I am getting the same error stated above. There do not seem to be any examples online to compare against. Any help would be appreciated.
from react-d3-shape.
Same problem here:
<BarChart
height={30}
data={this.props.history.map(function(item) {
return {
responseTime: item.response_time,
date: item.executed_at,
}
})}
chartSeries={[{
field: 'responseTime',
name: 'Frequency',
}]}
x={(d) => d3.time.format.utc("%Y-%m-%dT%H:%M:%S.%LZ")} //2017-05-26T13:41:53.759145
xScale='time'
/>
from react-d3-shape.
dont use date or other formats. only integer axis data seems to be supported
from react-d3-shape.
I stuck on same issue, is resolved by any chance?, if so please share, thank you.
from react-d3-shape.
Related Issues (13)
- showXGrid, and showYGrid to false will prompt error msg
- Missing key property in BarStack HOT 3
- How to fill the Chart with different colors HOT 1
- set every single bar color in bar chart
- would be great if custom field can be passed into Series
- Is there any support for D3.js Text Cluster?
- ChartSvg should support the viewbox attribute
- AreaStack Component doesn't set key in Iterator and console the warning.
- Console log in scatter.jsx
- Interpolation support HOT 1
- Support for Other stroke properties on Line Component
- Passing of properties to children of Chart component
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 react-d3-shape.