jdarling / d3rrc Goto Github PK
View Code? Open in Web Editor NEWReusable D3 Charts for React.js
License: MIT License
Reusable D3 Charts for React.js
License: MIT License
Much sorry to open issue here,
But I really can not find your email
or the repository for
http://bl.ocks.org/jdarling/2d4e84460d5f5df9c0ff
I have to say ,it has some bugs for displaying test.mm if test.mm is a little complex.
the test.mm I use is:
https://paste.ubuntu.com/p/Xm73YDGjpm/
the above test.mm is generated by FreeMind.
Could you help me fix it?
If it's convenient for you to fix it,
My email is [email protected]
I'm much glad to assist you to test it.
Thanks for your help.
Need to setup TimeSeries2 so it works with flowing data. Right now it only works with static data and that's kinda useless at times.
Since switching to WebPack for the bundle build could provide a way to require('d3rrc/bundle') instead of having to setup a JSX parser and require the source files.
Axis labels are calculated internally currently, would be nice to be able to pass in a function to get the display values. As an example might want to output nn% instead of nn.nnnn
In some scenarios the bar chart doesn't render properly instead rendering multiple copies of the chart each with either even or odd records. Need to track this down and fix it.
Axis labels are calculated internally currently, would be nice to be able to pass in a function to get the display values. As an example might want to output nn% instead of nn.nnnn
My project is using React and WebPack and I still have no idea how to get this to work.
In my jsx page I've tried..
var Charts = require('d3rrc');
and
var HBarChart = require('d3rrc').Charts.HBarChart;
and
var HBarChart = require('d3rrc').HBarChart;
I end up getting a ton of compile errors like this....
Module parse failed: /[MyDirRemoved]/node_modules/d3rrc/src/bar.jsx Line 179: Unexpected token <
You may need an appropriate loader to handle this file type.
| 'bar-chart': true
| });
| return <div className={classNames} />;
| }
| });
@ ./~/d3rrc/charts.js 3:13-37 4:13-37
Axis labels are calculated internally currently, would be nice to be able to pass in a function to get the display values. As an example might want to output nn% instead of nn.nnnn
@jdarling Tried to use your LineChart in a small demo I have, and I ended up having DOM elements added in the chart every time it was rendering.
I had over 1000 X and Y axis for example, and lines upon lines.
I guess you manipulate the DOM outside the React lifecycle and you end up with multiple DOM instances?
I got this error when I try to require('d3rrc') in my project
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.