score:1
Follow official documentation: https://www.chartjs.org/docs/latest/configuration/legend.html
Try by changing padding like the below code example, this might fix your problem:
legend: {
labels: {
padding: 40 //default is 10
},
display: true,
position: 'bottom',
align: 'start'
},
Source: stackoverflow.com
Related Query
- Increase padding between legend and chart with react-chartjs-2
- React chartjs-2 - Increase spacing between legend and chart
- how to increase space between legend and chart in chartjs (ng2charts ) using angular
- Chart.js - Increase spacing between legend and chart
- Increase space between legend and chart
- Increase gap between line-chart and legend ChartJS
- Chart.js - Increase spacing between bottom legend and chart
- Trying to export chart with Chartjs and React but getting erorr
- 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?
- ChartJS - How to add Text between Pie Chart and Legend
- Chartjs Line chart options display increase and decrease percentage between each datapoint
- ChartJS distinguish clicks between chart area, dataset and legend
- How do I increase the space between the Legend and the Chart when using angular-chart.js?
- Chartjs 2 - Stacked bar and unstacked line on same chart with same y axis
- ChartJS bar chart with legend which corresponds to each bar
- chartjs - top and bottom padding of a chart area
- Chart,js Pie Chart can the gap between a pie chart and the legend be adjusted
- ChartJS (React) Line Chart - How to show single tooltip with data and labels from 3 (multiple) dataset?
- to increase space between x axis and first horizontal bar in chart js
- React chart : prevent chart's canvas scaling with height and width
- Why would a ChartJS chart end up with width 0 and height 0?
- Graph streaming real-time data with react and chartjs
- React component wont re-render ChartJS chart with redux props
- Bar chart with min height and zero values - ChartJs
- How to reuse a Chartjs Chart component in with different Data and get past the **Canvas is already in use** error?
- How to increase space between label and chart area in chart.js
- Order and hide items of legend by value with Chartjs Angular
- How to make a chart with chartjs and Angular?
- Legend color not working with randomly generated background colors in chartjs pie chart
- Styling background (fill) with ChartJs and React
More Query from same tag
- Chart.js: How to set the height of the rows manually
- (Chart.js) Is there a way to compare one chart with another so as not to have this inconsistent effect of small values being as big as big values?
- Drawing line chart in chart.js placing dots only when value changes
- Chart.js with wrong Y axis
- How to use forEach loop on my array to plot x and y variables on my chart (Chart.js)
- Center point labels between ticks (Polar Area Chart JS)
- Remove slice onClick events on Pie Charts in Chart.js
- Moving vertical line when hovering over the chart using chart.js
- Any way to make the y-axis border longer in chart.js?
- How to fix bar width in chartjs?
- setInterval on myDoughnut animation
- Creating a chart
- Calling chart JS with PHP Data (file structure)
- ERROR : syntax error, unexpected '$app' (T_VARIABLE), expecting ')'
- Draw points and lines inside a bar in bar chart
- Bind Angular FormGroup to Chartjs data
- chart.js-datalabels-plugins don't work
- Find intersection between the chart lines in chartjs
- React and chart.js with json
- how to add percentage value to legend field in pie chart using chart.js
- Error in compilation for chart.js Expected method shorthand in object literal ('{label() {...}}'
- Chartjs - Donut Chart label for small values not visible
- Chart.js returns a console error and does not display the chart when using variables as data input
- Cannot find module /chartjs.helpers while using chartjs-plugins-datalabels (ReactJS)
- Display legend of grouped data (different colors) in chart
- Why chart.js on meteor.js rebuilds itself instead of interpolate new point?
- Chart.js PolarArea not able to chance arc width and color
- Chartjs v2 on retina display has label size issue (text is too large)
- How to disable chartjs tooltip on mibile devices and small screens?
- How to set Json data to chart.js bar