0๐
Had you tried labels: "priceDate", ?
Could this be working (instead of corrupting the retriever)?
options: {tooltips: {enabled: true, dateTimeLabelFormats: {day: '% %, %'}},
0๐
You can use formatter
function within tooltip, and inside the function, you have access to this
which you can get the data you want.
Here is an example:
tooltip: {
formatter: function() {
return `${this.y} ${this.series.name}`;
}
},
0๐
Use the tooltip.headerFormat
or tooltip.formatter
callback to customize tooltip output.
API: https://api.highcharts.com/highcharts/tooltip.headerFormat
API: https://api.highcharts.com/highcharts/tooltip.formatter
- Chartjs-How to access the hooks of the Chartjs plugins?
- Chartjs-Generator-angular-fullstack and angular-chart.js not displaying charts
0๐
better use tooltipformatter
. there you can format how the tooltip should display data.
hereโs a link to jsfiddle which shows only data and no label.
0๐
I solved issue with callback function.
tooltips: {
callbacks: {
title: function() {}
},
enabled: true}
- Chartjs-Multiple y-axes using Chart JS with data as a dictionary
- Chartjs-Chart.js the point's limit supported
0๐
For ChartJS v4
plugins: {
tooltip: {
callbacks: {
title: function() {
return null;
}
}
}
}
- Chartjs-I want to show decimal values on my y axis but my chart doesn't show data how can i fix it?
- Chartjs-Chartjs-plugin-streaming: onRefresh() callback isn't working
Source:stackexchange.com