score:1
Accepted answer
the main reason you can't get it to work is because you use the code from this question, which is written for version 2.7, and you are using version 3.2. there are many breaking changes with version 3, including many different names in the options.
i couldn't get it working either, but it should be easily possible with a 3.x version.
Source: stackoverflow.com
Related Query
- How to offset the legends of the bars in a "chart.js" bar chart?
- How to make bar chart animation where all bars grow at the same speed?
- how to highlight the bars in stacked bar chart of chart.js on clicking a legend
- How to reduce the gap between bars on bar chart
- Chart.js Bar Chart: How to remove space between the bars in v2.3?
- Chart.js Bar Chart - how to chart bars from 0
- ChartJs bar chart - keep bars left instead of equally spread across the width
- How to hide the y axis and x axis line and label in my bar chart for chart.js
- How to have solid colored bars in angular-chart bar chart
- PrimeNg bar chart how to show a label for the y-axis
- In Stacked horizontal bar chart how to remove the vertical line in Chart.js?
- Can I offset the bars in chart.js stacked bar chart?
- PrimeNg bar chart how do I hide the bar labels?
- how to customize tool tip while mouse go over bars on Chart js bar chart
- Chart.js: How to get x-axis labels to show on top of bars in bar chart
- How to use set the color for each bar in a bar chart using chartjs?
- Can the colors of bars in a bar chart be varied based on their value?
- How can I fix the offset of the gradient to be aligned with the chart points(chart.js)?
- Issue with chartjs linear gradient for the mixed bar chart in ReactJS is not calculated for each individual Bars
- how to pass the value of input to my bar chart
- How to show the chartjs bar chart data values labels as text?
- how to make scrollable the legends of pie chart ( chart js )
- How to add labels on top of the chart bar with Chart.js 2
- How to prevent empty bars from taking up width in Chart.js bar chart
- How to remove the extra Y axis from a bar chart in chart.js
- How can I reduce the spacing between my legend and chart proper in my Chart.JS bar chart, and increase it in the graph area?
- Bar chart (chart.js) with only 2 points does not show one of the bars
- How to draw multiple color bars in a bar chart along a Horizontal Line using chart.js
- How to show symbols after the label and before the numeric value using chart.js Bar chart in Angular
- How can I remove the white border from Chart.js pie chart when all legends are hidden?
More Query from same tag
- Adding labels and colours to Chart.JS from arrays
- Chart js x-axis values getting repeated twice
- ChartJS does not display when using local Chart.js file
- I want to change color of individual bar of bar graph
- How to change chart.js axis labels color?
- Using Createjs and Chartjs
- How to display half hour ticks on x-axes
- Chart JS tick options not working for y axis
- Setting default to 0 in vuechart.js HorizontalBar
- JS count numbers between
- Chart.js How to get min-max values of X axis?
- How to have solid colored bars in angular-chart bar chart
- How to pass a array from node to .js file (pugJs)
- How to remove Chart.js legend
- Data not fully displaying on bar chart
- How to properly render Chartjs with big difference between bars data?
- Chart.JS plugin, draw after animation
- Using Chart.js on Laravel 5.3
- increase the gap between y-axis and first x-axis value chart.js
- Two charts in a page not working, using Chart.js 3.1.1 cdn in Laravel 8.x framework
- Show percentage of category relative to stacked bar in Chart.js
- ChartJS 3+ x-axis only showing full moment object instead of just month
- chartjs - top and bottom padding of a chart area
- Can we show long numbers as 1k, 1M, 1B on axis in charts?
- ChartJS charts not generating within tabs
- Automatic label updates
- ChartJS: chart not show all data
- In ChartJS how do you format the hover over label in a time series?
- How to stop resizing chart.js in case hovered and out of boundaries?
- Chart.js - get x-axis label (or index) in onHover event