score:0
just put this in options that will do the job.
scales: {
yaxes: [{ ticks: { callback: function(value, index, values) { return value + ' '; } }
}
Source: stackoverflow.com
Related Query
- Adding space to begin of xAxis ticks in chartJS
- chartjs xaxis ticks with round values from shifted input data
- ChartJs - set background color of the space between ticks
- Reduce space between ticks in horizontal bar-chart chartJS
- ChartJS – is there any way to remove blank space around pie charts?
- Adding Image inside Linechart points in ChartJs
- Chartjs time plot xAxis shows year 1970
- ChartJs - set x-axis ticks at specified/fixed intervals
- Chartjs adding icon to tooltip and label
- Adding image on the top of bar in chartjs
- How to add ChartJS code in Html2Pdf to view image
- Why is ChartJS skipping an xAxis label in this snippet?
- ChartJS xAxis label position
- Add space Between Columns in Bar chart. chartjs
- How to change chartjs ticks orientation to 'slope right'?
- ChartJS place y-axis labels between ticks
- ChartJS - Adding legend title into tooltip title
- ChartJS 2 How to globally remove xAxis gridLines?
- Space between ticks marks and X axis with chart.js
- How do I add time sourced from an external source as an X axis to a ChartJS graph?
- chartjs Adding percentages to Pie Chart Legend
- Adding line over stacked line chart with ChartJS
- ChartJS keeps adding one day to X axis. I cannot find a reason. Any suggestion?
- Chartjs show labels but not ticks
- Chartjs not working with d3 from csv source
- ChartJS xAxis time formats don't change for days
- ChartJS chart not scaling after adding values
- ChartJs - Adding padding after Y- Axis
- ChartJS ticks values are not correct
- how to increase space between legend and chart in chartjs (ng2charts ) using angular
More Query from same tag
- combo bar line chart with multiple grouped/stacked datasets
- How to draw a hover effect behind a bar chart?
- Adjust font-weight in Chart.js doughnut chart
- Moving vertical line when hovering over the chart using chart.js in v2.9.4
- Configuring ChartJS from VB.NET
- Chart.js separation lines
- Placing JavaScript content in Bootstrap Popover
- Update Chart vue3-chart with new data
- Chartjs: Overwrite plot y-axis integer labels to some string value
- Plot a multi-line graph from grouped JSON object using Charts.js
- How to show gradient vertically on chart js grouped bar chart?
- How can I draw lines inside the bars in charts.js?
- Add a label to a point of a bubble graph (Chart.js)
- Vue 2: How to unit test component that uses Chart.js (vue-chart-3)
- Socket.io is not sending data to frontend as intended
- Charts.js tooltip overlapping text on chart
- how to display chart.js legend with different bar color
- Chart content not getting loaded in popup
- ChartJS - How to change color of some data points in graph
- How to add Dyamic JSON Dropdown Menu in Angular JS
- How to reduce spaces between grids for graph in chart.js
- Position tooltip based on mouse position
- Can I color the first bar in "Bart Char" differently?
- How to hide value in Chart JS bar
- TypeError: Cannot read property 'legend' of undefined | Angular + ng2-charts
- Angular 7 - Labels and Date values
- Add data to line chart js dynamically with multiple lines
- How do I connect to a PostgreSQL database on Heroku server and use Chart.js?
- How to change color by clicking on the chart bar?
- why the main and axis title does not show in chart.js