I'm using the html tool tips, and it's weird because only specific point show the tool tip correctly.
I'm using html tool tips with this configuration :
var dataTable = new google.visualization.DataTable();
dataTable.addColumn('number', 'Activités');
dataTable.addColumn('number', 'Niveau 1');
dataTable.addColumn('number', 'Niveau 2');
dataTable.addColumn('number', 'Niveau 3');
dataTable.addColumn({type: 'string', role: 'tooltip', p:{html:true}});
var options = {
title: 'Activités journalières par niveau de difficulté',
hAxis: {title: "Activités", titleTextStyle: {color: '#333'},gridlines:{interval: 1}},
vAxis: {title: 'Progression en %'},
tooltip: {isHtml : true},
explorer: {actions :['dragToZoom','rightClickToReset' ]},
interpolateNulls: true,
animation:{duration : 2000, easing:'inAndOut', startup : true}
};
Here is the datas sent to addRows (sorry, not wonderfully formatted ), just have a look on the last level (niveau):
1,
20,
NaN,
NaN,
Rubrique: < b > La proportionnalité < /b><br/ > Progression: < b > 20.00 % < /b><br/ > Temps: < b > 120 secondes < /b><br/ > Date: < b > 16.07 .2020 < /b><br/ > ,
2,
20,
NaN,
NaN,
Rubrique: < b > La proportionnalité < /b><br/ > Progression: < b > 20.00 % < /b><br/ > Temps: < b > 120 secondes < /b><br/ > Date: < b > 16.07 .2020 < /b><br/ > ,
3,
60,
NaN,
NaN,
Rubrique: < b > La proportionnalité < /b><br/ > Progression: < b > 60.00 % < /b><br/ > Temps: < b > 120 secondes < /b><br/ > Date: < b > 16.07 .2020 < /b><br/ >
....... LAST LEVEL:
3,
NaN,
NaN,
60,
Rubrique: < b > La proportionnalité < /b><br/ > Progression: < b > 60.00 % < /b><br/ > Temps: < b > 120 secondes < /b><br/ > Date: < b > 16.07 .2020 < /b><br/ >
The tooltip only show up on hover when the precedent value is not null (Like the last level)
What must be inserted for example here:
3,
60,
NaN, ???
NaN, ???
Rubrique: < b > La proportionnalité < /b><br/ > Progression: < b > 60.00 % < /b><br/ > Temps: < b > 120 secondes < /b><br/ > Date: < b > 16.07 .2020 < /b><br/ >
I tried '', null, 'null'. Doesn't work
Thanks for your help :-)