score:1
Accepted answer
it might be due to version mismatch, as per the latest version of chart.js, in order to remove the legend. the cdn might be using the latest chart.js
options: {
plugins:{
legend: {
display: false
},
}
}
Source: stackoverflow.com
Related Query
- ChartJS Bar Chart not respecting disabled legend when using cdn
- Bar Chart Not Stacking When Using ChartJs
- Bar Chart not displaying when using chart.js
- Chartjs Bar Chart showing old data when hovering
- Chartjs Bar Chart Legend
- ChartJS bar chart with legend which corresponds to each bar
- Chartjs - show elements in all datasets on hover using bar chart
- Uncaught TypeError: Chart is not a constructor when using Chart.js
- Multiple stacked bar chart using ChartJs
- Grouped Bar Chart from mySQL database using ChartJS and PHP
- ChartJS horizontal chart display legend on each bar
- Bar Chart of ChartJS does not Render
- Chart JS chart not rendering in ArcGIS popup when using navigation arrows
- Pagination in Bar chart using ChartJS
- ChartJS bar chart - trigger hover even when the cursor is outside of the bar
- Legend not displaying on Line or Bar chart - React-Chartjs-2
- ChartJS does not display when using local Chart.js file
- How to highlight single bar in bar chart using Chartjs
- Chartjs with Vue, Bar Chart Border Radius not working
- Why is this bar chart using chart.js not rendering in react.js?
- ChartJS plot not showing as it should be when toggling a grouped legend element
- how to increase space between legend and chart in chartjs (ng2charts ) using angular
- Issue with chartjs linear gradient for the mixed bar chart in ReactJS is not calculated for each individual Bars
- Multiple data sets not working when using ChartJS
- Chartjs Stacked bar chart not displaying correctly
- Chartjs does not render chart when set responsive option to true
- Multi-colored legend stacked bar chart Chartjs
- Chartjs bar chart appears empty when page loads
- Chartjs Bar Chart showing old data when hovering when use of ajax
- ChartJS not showing data for time series bar chart
More Query from same tag
- Chart.js ignore options
- how to show X and Y labels on points in Chart js 2 Line Chart
- ChartJS doughnut data toggle on custom button click
- chart.js: alternating background-color for ticks
- chart.js mixed chart with different data points
- Put JSON data into chart.js pie chart
- Showing Percentage and Total In stacked Bar Chart of chart.js
- How to detect click on chart js 3.7.1 axis label?
- Label is too long in Doughnut Chart
- Chart JS not working with date
- How to create stacked bar chart using react-chartjs-2?
- trouble passing API result to chart
- I want to put my data in chartjs-plugin-streaming
- How to hide row in chartJS when filtering?
- How to parse time 'HH:MM:SS' and display steps on xAxis every minute in Chart.js
- Chart Js - Globally set bar chart color based on value
- Is it possible with Chart js or which chart Library can provide this type of chart?
- chart.js not getting linked with online database and php
- chartJS doesn't show graphs on iphone/ipad
- Using epoch as time series on x axis in react-chartjs-2 not showing correct date
- Charts.js how to fix the height with more than 50 horizontal bars
- Tooltip backgroundColor depending on chart color ChartJS
- Maintain Y axis scale in graph with scroll in the X axis when the dataset grows bigger. Aspect-ratio problem
- How to draw border all the way around bar element
- Chart.js dataset controller 'null' when chart drawn
- Unable to update state in ReactJS
- How to make Chart.js with dynamic months on x-axis
- Chart.js - How to create an auto-scaling line diagram for a big amount of data happenning over time
- How to use the tooltipTemplate on Chart.JS 2.0
- borderdash options in chart js changes my legend