I have scatter chart where at same x,y value I get multiple points:
Each point have different title that I return in tooltip callback:
callbacks: {
title: function title(tooltipItem, data) {
var pointData = getCompletePointDataForTitle(tooltipItem, data);
return pointData['companyName'];
},
label: function(tooltipItem, data) {
var pointData = getCompletePointDataForLabel(tooltipItem, data);
return '{{ 'basic.users'|trans }}'+ ': ' + ' ' + pointData['usersCount'] + ' Ratio: ' + pointData['y'].toFixed(2);
}
}
How can I make that it show's me the complete data thanks.