Floating bar with time as x-axis
See original GitHub issuehello folks,
i’ve tried out the master version of chart.js and wondered if floating bar with time as x-axis is supported.
i’ve tried
data: [{x:'2016-12-25', y:[20, 25]}, {x:'2016-12-26', y:[13, 28]}]
but its kinda not working.
any tips?
thanks!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Horizontal floating bars with a time y-axis in Chart.js
Mmm it seems my issues are: not using proper axis format for chart.js 3; need to scale the graph myself; need to refer...
Read more >How to create a bar chart with floating bars to show time ranges?
Easiest way probably is to use a horizontal, stacked bar chart: you need your data in two columns: start and duration; select it,...
Read more >How to create a floating bar chart in Excel - TechRepublic
A floating bar chart is a visual comparison of distribution. In other words, not all the charted values begin at the same place...
Read more >Floating Bars in Excel Charts - Peltier Tech
Floating bars can be used to plot many types of data sets. (“Bars” in this usage means “bars”, as Excel calls horizontally oriented...
Read more >pgfplots bar graph: Bars are floating above the x-axis - TeX
add enlarge y limits={upper=0}, to the second one. – percusse · Thank you very much! · That is, if in this example the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What if you try it with
labels: ['2016-12-25', '2016-12-26']
anddata: [[20,25], [13,28]]
?I think that data format might be the only one supported right now although what you tried really should be supported as well. If you or anyone else wants to try adding support for that a PR would be welcome!
I responded on the other thread, but posting here as well for anyone else who sees it. The feature is not yet released and will be included in the upcoming 2.9.0 release