Comments (12)
Upon reflection I believe this is outside the scope of the project at the moment. Will need to revisit this when approaching a first major version.
from epoch.
Is there any news on this issue?
from epoch.
Originally I was wondering what use it would be to have legends, considering that one could just use HTML to defined them "around" the charts. But we ended up having to do some labeling and overlay extensions when using the library internally so I am thinking to open this back up again (or refile).
Out of curiosity what is your specific use case?
from epoch.
Out of curiosity what is your specific use case?
I need a way to label each of the bar chart bars with their respective values. Not having the labels makes the user guess the approximate value of the bar, which isn't ideal. Something like the following is what I was hoping to achieve:
from epoch.
Ah, I see what you're getting at. I am beginning to wonder if some sort of hover popover that displays values might be useful to have by default for all of the basic plots. Also looking into ways that we can make the plots easier to override especially in the case of rendering so you can easily create what you need.
from epoch.
I am beginning to wonder if some sort of hover popover that displays values might be useful to have by default for all of the basic plots
I am currently experimenting with nvd3 has this functionality, but I would rather prefer the label to be always visible.
I would like to use epoch over nvd3, as the outputted SVG tree is cleaner and easier to work with. I will see if I can modify epoch to display the labels in the manner I am looking for.
from epoch.
Yeah it's meant to be pretty extensible like that. Just playing around with it I think this will do exactly what you need: https://gist.github.com/rsandor/8ba96a3b59926f115e52
from epoch.
Thank you for that solution, @rsandor. Hopefully that will merged into a future release.
from epoch.
In my opinion the reason why it would be useful to have as part of the library is that otherwise a lot of people will end up adding it themselves rewriting the same code independently. Also if you do a good job and you want colours to match what's in the plotting, tooltips to show longer names, options to show the labels in different places, etc. it starts being a non negligible effort.
from epoch.
I agree with @tarelli 👍
from epoch.
@tarelli - Sounds like you have a good idea of how it might work. Want to code it up and send a PR?
from epoch.
I need this today... Any update whether this is implemented or not??
from epoch.
Related Issues (20)
- Update to d3 seems to have broken epoch HOT 4
- mouse hover
- TypeError: layer.values is undefined HOT 1
- Question minimal number of values to initiate animation? HOT 1
- filter is not a function problems HOT 1
- angular2 version
- Uncaught TypeError: Cannot read property 'visible' of undefined(…) epoch.js:3024 HOT 2
- Line chart - Left and Right Axes Ranges HOT 1
- Epoch doesn't work with lastest version of D3.js HOT 1
- Epoch doesn't work in the normal way
- Seems to require jQuery, yet doesn't seem explicit about it HOT 3
- How to show legend for a data in the real time charts? HOT 1
- epoch multiple chart type combined
- still real-time is slower than actual data point
- Cannot read property 'format' of undefined HOT 3
- tickFormats example in the documentation
- gulp build issue HOT 2
- plasma oscillation in 1-D epoch
- This project is no longer being updated
- TypeError: $(...).epoch is not a function 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 epoch.