Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
76
rated 0 times [  81] [ 5]  / answers: 1 / hits: 106050  / 9 Years ago, thu, january 28, 2016, 12:00:00

Originally I set the fill color for each point to be completely transparent. If I run my mouse over the graph, the points pop up. I want to hide all points so that the line graph is smooth.


More From » chart.js

 Answers
31

You can achieve this by setting point's radius property in configuration options as follows:



var chartConfig = {
type: 'line',
options: {
elements: {
point:{
radius: 0
}
}
}
}


Tooltips for the points will also gone off.


[#63521] Wednesday, January 27, 2016, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iyannae

Total Points: 147
Total Questions: 88
Total Answers: 120

Location: Japan
Member since Sat, Jun 6, 2020
4 Years ago
;