score:54
Accepted answer
Scale title configuration is a header if you scroll down in the documentation.
Here is a simple bar chart example, using scaleLabel which is sligtly modified to illustrate a percentage.
https://jsfiddle.net/r71no58a/4/
scales: {
yAxes: [{
ticks: {
min: 0,
max: 100,
callback: function(value) {
return value + "%"
}
},
scaleLabel: {
display: true,
labelString: "Percentage"
}
}]
}
Source: stackoverflow.com
Related Query
- How to use percentage scale with Chart.js
- How to use log scale with Chart Kick?
- How to prevent first/last bars from being cut off in a chart with time scale
- How do I use my chart.js line chart with handlebars?
- How to use JSON data in creating a chart with chartjs?
- How to use chart.js to plot line chart with x axis as time stamp in seconds
- Angular chart js how to use formatter with Doughnut chart
- How can I create a horizontal scrolling Chart.js line chart with a locked y axis?
- chartjs : how to set custom scale in bar chart
- How to fix chart Legends width-height with overflow scroll in ChartJS
- How to display Line Chart dataset point labels with Chart.js?
- chart js how to fill legend box with colour
- How do I draw a vertical line on a horizontal bar chart with ChartJS?
- chartjs: How to plot multi-line chart with irregular intervals
- How to use PrimeNg Chart of Width and Height?
- How to show percentage (%) in chart js
- How to display inline values in a stacked bar chart with Chart.js?
- How to display data labels outside in pie chart with lines in ionic
- How to use 'time' (data from database, data type: timestamp ) for plotting graph in Chart JS
- How to dynamically use chartjs-plugin-annotation with ng2-charts?
- How can I trigger the hover mode from outside the chart with charts.js 2?
- how to use chart.js with react Hook?
- ChartJS - how to display line chart with single element as a line? (not as a dot)
- How to use radial CanvasGradients with Chart.js's doughnut chart?
- Use transparent stroke color with chartjs pie chart
- ChartJS (React) Line Chart - How to show single tooltip with data and labels from 3 (multiple) dataset?
- How to add images to chart labels with vue-chartjs?
- Angular chart how to show the legend data value by default along with legend name
- How to show percentage (%) using chartjs-plugin-labels ( Pie chart ) in angular 2/8
- How to create chartjs chart with data from database C#
More Query from same tag
- Chart.js2 Radar, how to configure the label padding/spacing?
- chart.js How to show last column’s value on y axios?
- Make pie chart smaller Chart JS
- Chart.js dynamic updates with data from database
- How to use JSON data as chartjs data?
- Programmatically creating labels for Chart.js in angular?
- How to filter data for dxChart
- ChartJS with AngularJS
- Chart.js ignoring canvas height & width
- How to show multiple datasets in line chart js
- How write the labels of the data inside a Doughnut Chart made with Chart.js?
- chartkick chart.js change colour of axis and colour of axis title
- Creating and Updating Graph in HTML and Javascript
- text inside the bar - chart.js
- ChartJS - Show/hide data individually instead of entire dataset on bar/line charts
- Unregister plugin in Chart.js
- Chart.js - displaying multiple line charts using multiple labels
- Using Chart.js with Gatsby markdown
- Chart.js: Fixed horizontal location of vertical axis
- Chart.js building dynamic charts, JSON data parsing issue
- Line Chart x-Axis datapoints with Strings
- How to render tooltip text on a different div with Chart.JS
- Chart.js: load new data on click
- How to create rounded bars for Bar Chart.js v2?
- ChartJS Pie Chart How default just show 2 legend datas
- Chart.js time object labels not updating correctly
- How scale sector in doughnut chartjs on hover?
- json_encode is not working (anymore)
- what is error can't acquire context from the given item?
- How to disable click in graph ChartJS