score:0
Accepted answer
this is because your labels array is a nested array so chart.js sees it as a multi line array. if you change it to a single flat array it will work just fine
Source: stackoverflow.com
Related Query
- Reactjs- Bar Graph-chartjs- Data not coming in individual blocks
- Issue with chartjs linear gradient for the mixed bar chart in ReactJS is not calculated for each individual Bars
- ChartJS bar not showing up for simple data points
- How to set the chartjs bar graph scale to the highest value in the result data
- ChartJS not showing data for time series bar chart
- chartjs stack bar graph color not working
- My Chartjs is not updating after setstate full code attached Reactjs Update
- plot line graph in Chartjs 2 when number of data in yaxis is not eqaul to number of data in xaxis
- Chartjs Bar Chart showing old data when hovering
- Chartjs - data format for bar chart with multi-level x-axes
- Chart.js Bar graph will not start at zero as minimum value
- Create a rounded bar graph with Angular and chartJS
- Gradient color for each bar in a bar graph using ChartJS
- Last value not showing in bar graph of charts.js-library
- Chartjs Data via json request not populating
- Show Data labels on Bar in ChartJS
- Chartjs Graph is not showing in colorbox
- ChartJs Not displaying data
- Chartjs bar dataset label not showing
- ChartJS / MomentJS - Unable to remove deprecation warning. Graph not showing in firefox/opera
- ChartJS bar chart fixed width for dynamic data sets
- Vertical spacing in horizontal ChartJS Bar Graph
- Chartjs (Non Vue) Not Rendering Graph Chart inside V-if/V-show
- Chartjs in Reactjs - how can I update data dynamically?
- Chart.js Ionic 2 Angular2: Background color of bar graph not changing
- Graph streaming real-time data with react and chartjs
- How to make chartJs stacked bar always rounded when data is 0?
- Bar Chart of ChartJS does not Render
- Plot bar graph in reactjs
- Calling data from search bar to chart.js graph in Angular
More Query from same tag
- How to use Real time chart in react?
- Can I use a custom data format when using Vue + Chartjs
- showing tooltips all the time in chartjs 2.4 not working
- Array .map() returning undefined
- Chart.js -> line chart -> multiple points with the same X
- Chart Js Line chart with fill on click with full information of its legend text
- How to clear a chart from a canvas so that hover events cannot be triggered?
- Chart.js Time series - x axis that change depending on timestamp
- chartjs not following height when parent's height is 200px
- charts.js Stacked Bar Graphs - selecting row and dataset selected
- Chartjs doughnut chart for conditional data
- How to add Canvas tag inside repeater
- How to use an Addon with ChartJS on Angular 4
- Chart.js number Y-AXIS label format for many decimal places
- Pie chart using chart.js and asp.net web Service (asmx)
- Chart.js - custom tooltip with multiple values
- Chart.JS - Wrong Y axis
- Line chart with combination of fill and line
- Charts not showing on ASP.NET MVC page
- angular-chart chart-line not working
- Chartjs - keeping 2 graphs aligned side by side
- Chart Data Not Updating for Both Graphs?
- ChartJS tooltip when having multiple lines on a time graph
- How to show data values or index labels in ChartJs (Latest Version)
- Chart.js point format data for a scatter plot
- Charts are overlapping with old values on mouse hover
- Chart.js Doughnut with rounded edges
- Chartjs Percents in Legend
- Chart.js Example Diagramm don't show
- When I added a funnel chart to chartjs all the charts are load compressed until resize page