Comments (8)
I doubt that I'll get around to it. I'm currently not blocked as this is just an experiment I was planning to do. Perhaps when my experiment materializes more I might be capable to help out but I doubt it's an investment I'm ready to do any time soon.
If you get around to it, it would be great but don't hope for me being a good open-source citizen :)
from roughviz.
Can I try?
from roughviz.
@jwilber Wow, thanks for your support. Stacks are created. Let's see if I can do a PR soon.
from roughviz.
Hey @peterbe , this was added by @jolo-dev and is now available in version 1.0.5
:)
from roughviz.
Hey @peterbe, currently this would be a feature request.
It's something I'd like to add as well, maybe this weekend :)
from roughviz.
I should mention if you/anyone wants to submit a pr that’d be awesome as well and I’d be super down to assist 😎
from roughviz.
No worries! I'll make sure to ping you when one is added
from roughviz.
@jolo-dev yep!
Some advice: If you look at, say, the Bar
class, there's a lot of stuff you can reuse (at some point I'll throw these into an ABC).
Basically, when defining a new chart, you just need to define 2-3 methods:
drawFromFile()
:roughjs
code for data from files.drawFromObject()
:roughjs
code for data from parameters.addInteraction
: This is where the original, non-roughd3
code goes. Basically, you just create a stacked barchart as normal ind3
that will exist behind theroughjs
version. This allows for interactivity on hover.
Note that much of the code for the above methods in the Bar
class may itself be recycled.
You should be able to reuse all of the other methods. If you need to update the axis values, edit the addAxes()
method (no need to touch makeAxesRough()
.
Feel free to reach out with any questions if you decide to approach this, and thanks for the interest!
from roughviz.
Related Issues (20)
- Clickable bar charts HOT 2
- Ability to clear and re-draw HOT 4
- Vue-Wrapper HOT 1
- Crash with a zero value in Pie/Donut chart with Firefox 70.0.1
- some options with a value of `0` are overridden with the defaults HOT 1
- HTML links to labels/titles HOT 1
- Abstract Class HOT 1
- Make charts responsive
- Python Implementation HOT 1
- A spell error in readme.md HOT 1
- Save roughViz resulting chart to SVG
- Unifiy titleFontSize HOT 1
- Line data as Object (no csv or tsv) HOT 2
- Deploy a 1.0.7 HOT 1
- fillStyle in react-roughviz.Line doesn't work
- Legend for `roughViz.StackedBar` HOT 1
- Example links in README are 404 HOT 4
- Line chart with local data HOT 1
- Legend overlaps title
- Label names overlap each other
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 roughviz.