Feature request: Discrete bar chart
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.4k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
My apologies if feature requests are frowned upon here, but I'm not sure where else to post this. I will also submit this as an issue on the project's github page as wel.
I would like to make a feature request for a "discrete bar chart" as a chart type. Using the existing bar chart, I am unsure how to get my data to display the way I want it, which is each "bar" is its own category and color. Example for the nvd3 library: http://nvd3.org/examples/discreteBar.html
As you can see from their example, each bar is its own category and color with its own label on the X axis. This is the functionality I would love to see in c3, as I use c3 for my line charts currently. (c3's line charts are less buggy than nvd3's.)
If this setup can be somehow replicated in c3, then please let me know how, as I would love to reduce my chart dependencies to just one.
Update:
Please also note that I need to be able to toggle individual discrete bars on and off. Someone on google groups was kind enough to make me a fiddle demonstrating that a discrete chart IS possible, but their example only consists of a single category, so toggling that would also show/hide EVERY bard, rather than individual ones.
Fiddle: https://jsfiddle.net/t2j7s20o/
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.