I have a bar graph with chartjs 2.
I would like to hide tootlips when bar value is egal to a number ( in my exemple 8.23 )
I havn't found an option on chartjs to disable tooltips when hover a specific value
tooltips: {
enabled: true,
yPadding: -2,
xPadding: 10,
titleFontColor: 'rgba(0, 0, 255, 0.0)',
displayColors: false,
borderWidth: 1,
bodyFontSize: 16,
bodyFontFamily: 'Avenir',
backgroundColor: '#0088ce',
borderColor: '#d7d7d7',
bodyFontColor: '#FFF',
callbacks: {
label: (tooltipItem: any, data: any) => {
if (this.type === 'PRODUCTION') {
return 'condition result';
} else {
return ' condition result2';
}
},
}
Html
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)