score:22
Try this:
tooltips: {
mode: 'label',
callbacks: {
label: function(tooltipItem, data) {
var indice = tooltipItem.index;
return data.labels[indice] +': '+data.datasets[0].data[indice] + '';
}
}
},
Source: stackoverflow.com
Related Query
- Chart.js tooltips callback function with pie charts
- ChartJS: Show all tooltips with Total for Multi Pie chart
- Chartjs random colors for each part of pie chart with data dynamically from database
- How to display data labels outside in pie chart with lines in ionic
- Show "No Data" message for Pie chart with no data
- chart.js pie chart issue with display: none
- Use transparent stroke color with chartjs pie chart
- Vue Chart 3 - Doughnut Charts with Text in the Middle (Trouble registering a plugin)
- Cannot initialize a pie chart with Chart.js
- chart.js pie chart - how to update dataset with smooth transition
- ChartJS pie chart with simple parsing options doesn't render, only works when set as bar/line chart
- Map with pie chart and label
- Chart js pie or doughnut charts 3 inside instead of 1
- how to add Thousand separator in pie chart tooltips of charts.js
- Legend color not working with randomly generated background colors in chartjs pie chart
- multiple charts js in page but with same tooltips (about last chart)
- Pie Donut chart with different sector sizes
- Chart.js - tooltiptemplate with one decimal value in pie chart
- Chart.js - tooltips issue with multiple charts
- Pie chart with Chart.js and mySQL
- what is wrong with my code ? java script chart position
- Create a pie chart in chart js with labels
- How to display Tooltip without hovering pie chart with Chart.JS
- Padding Between Pie Charts in chart js
- Rotating a chart.js pie chart with two datapoints to align both sectors on horizontal axis
- How to create a chart-js pie chart with PHP data variables?
- Accessing data from the callback function of a bar chart using chart js
- Pie Chart using chart.js not showing up but bar charts are?
- Chart changes different on zoom when using multiple charts with chart.js and flask
- How do I make a pie chart showing number of people in an age group with JSON and ChartJS?
More Query from same tag
- chartJS line chart not plotting values that are less than minY
- Why don't my datasets show up on line graph using Chart.js?
- Why is my Chart.JS canvas not destroying?
- Charts.js: changing xAxis time attribute with function
- Bar Chart of ChartJS does not Render
- Chartkick cumulative chart by date never descending
- Node.js How to save data from pg database into variable
- How to rotate custom marker in chart.js?
- Not able to remove legent from Radar Chart in chart.js even using legent: {display : false}
- How to get percentage from data collected in ChartJS?
- how to determine which bar was clicked on a chart js
- How to clear/destroy Chart.js canvas when the chart is represented as a react JSX element
- Jquery Bargraph not Loading properly
- Add watermark/logo to Chart.js
- Chart.Js - Hightligh an area in the background
- How can I configure Chart.js in a Electron app?
- generating a Chart.js chart with python data
- automatic legend translation on chart.js
- Inserting data from arrays into a pie chart (chart.js)
- How to add external scripts and css in latest angular-cli
- Passing Array to Chart.js not working, chart not rendering
- How can I place single data on the center in Chart.js?
- How to update your django page by looking for new data in the db?
- Chart.js: Legend doesn't update on first call to chart.update()
- How to add text inside the doughnut chart using Chart.js AngularJS 2.0?
- show xAxes on click
- How to add a coloured legend box to a pie chart with Chart.js v1?
- chart data on 24hr X axis using recharts, chart.js, I don't mind what
- ChartJS 3+ x-axis only showing full moment object instead of just month
- Angular and ChartJS to create bar chart