Skip to content

Commit 29ae320

Browse files
committed
Default display of chart point to true
1 parent 38d1b87 commit 29ae320

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Chart.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,8 @@
10421042

10431043

10441044
Chart.Point = Chart.Element.extend({
1045-
inRange : function(chartX,chartY){
1045+
display: true,
1046+
inRange: function(chartX,chartY){
10461047
var hitDetectionRange = this.hitDetectionRadius + this.radius;
10471048
return ((Math.pow(chartX-this.x, 2)+Math.pow(chartY-this.y, 2)) < Math.pow(hitDetectionRange,2));
10481049
},

0 commit comments

Comments
 (0)