chart.js does not come with horizontal bar charts by default.
however it is built in a very modular fashion. this allows third party plugins to be developed that do not mess with the core code.
as i needed horizontal bar charts for a project i was working on i took the liberty of creating one which you can find here.
you can install it using bower:
$ bower install chart.horizontalbar
the syntax for creating a chart is exactly the same as for creating a standard (vertical) bar chart:
var mychart = new chart(ctx).horizontalbar(data, options);
it's a pretty quickly hacked together project but it worked great for what i needed! hope it helps.
i know it might be not helpful to you but might help someone else, google charts are really good take a look at it https://developers.google.com/chart/
- Creating a horizontal bar chart extension on Chart.js
- Angular 8: Creating a custom horizontal bar chart
- Horizontal stacked bar chart with chart.js
- Horizontal bar chart in chart.js
- How do I draw a vertical line on a horizontal bar chart with ChartJS?
- How to draw Horizontal line on Bar Chart Chartjs
- Stacked horizontal bar chart along total count with chart.js
- Chart.js: Minimum value for x-axis at horizontal stacked bar chart
- two xAxes horizontal bar chart Charts.js
- Chart Js V2 draw Horizontal Bar(Average) Over Vertical Bar
- How to change Chart.js horizontal bar chart Width?
- In Stacked horizontal bar chart how to remove the vertical line in Chart.js?
- to increase space between x axis and first horizontal bar in chart js
- Draw a horizontal bar chart from right to left
- Remove padding from chartJs horizontal bar chart
- Horizontal bar with two yaxes chart js
- Minimum value for x Axis doesn't work for horizontal bar chart | ChartJS
- ChartJS horizontal chart display legend on each bar
- Chart.js horizontal line chart or modified horizontal bar chart
- ChartJS: how to make a bar chart with a horizontal guideline:
- Chartjs 3.x - How to duplicate X axis on both sides of horizontal bar chart with only 1 dataset?
- Stacked Mixed Horizontal Bar Chart in Charts.Js Axes Positioning
- Chart.js - Horizontal line on Bar chart interferes with tooltip
- Chart.js - draw horizontal line in Bar Chart (type bar)
- Horizontal gradient for every single bar in group chart js
- How do I create a stacked horizontal bar chart with Chart.js in React?
- ChartJS 2.9.4 can't overlay line data on Horizontal Bar chart
- Chart, X and Y-Axis labels are blurred in horizontal bar chart using chart.js
- Chart Js invisible horizontal bar
- Remove top horizontal line in a horizontal bar chart (Chart.js 2)
More Query from same tag
- How to order tooltip values from the biggest to the smallest
- Chart.js manipulate each bar in chart with different labels
- Custom alphanumerical values in chart.js?
- Angular chart showing series but no data
- How to plot chart from external JSON and format X-AXIS to show time using Chart.JS?
- Create Line Chart and populate with database information
- Chart.js Bar graph with percentage values
- How to externally trigger datalabels-plugin (active) - ChartJS
- Is it possible to add individual labels to Chart.JS bars?
- Create grouped-bar using chart.js, php and mysql
- ChartJS custom legend doughnut separate legend from chart area
- Chart.JS Global Options
- chart.js with JSON Data on Same page not displaying
- How do you remove the data value from the mouse-over result in radar chart?
- Chart.js Pie Chart: How to set background image for segment
- use navigator clipboard to store image/png from canvas blob
- Format chart.js x-axis labels to specific timezone
- Not sure how to rerender chart in the app
- Legends in Chart Js don't appears
- Class declaration merging for an existing type
- Chart.js bar chart with time on X axis and category on Y axis is not rendered
- Android WebView HTML5 canvas error
- Html canvas element resets width and height to zero after drag/drop
- Getting chart js bar chart to fill window
- Chart.js changes selected legend filters when using update function
- How do i have a single Chart.vue component instead of different chart components and then display charts from it by changing id of the API
- Chart.js unable to create chart
- Is there a way to change the react-chart-js tooltip only on a graph?
- Time Series Line chart js in react not working