You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty much what the title says. If I have a regular area chart I can capture a click event in the "area" plot by setting series.trackByArea to true. Using this plugin and the coloredarea bype, only clicks on the point actually fire the event.
The text was updated successfully, but these errors were encountered:
Highcharts.seriesTypes.coloredarea.prototype.getGraphPath=function(){varseries=this,graphPath=[],segmentPath,singlePoints=[];// used in drawTracker// Divide into segments and build graph and area pathsHighcharts.seriesTypes.area.prototype.getGraphPath.call(this);// this.areaPath = [];Highcharts.each(series.segments,function(segment){segmentPath=series.getSegmentPath(segment.points);// add the segment to the graph, or a single point for trackingif(segment.points.length>1){graphPath.push([segmentPath,segment.color]);}else{singlePoints.push(segment.points);}});// Record it for use in drawGraph and drawTracker, and return graphPathseries.singlePoints=singlePoints;series.graphPath=graphPath;returngraphPath;};
Pretty much what the title says. If I have a regular area chart I can capture a click event in the "area" plot by setting
series.trackByArea
to true. Using this plugin and thecoloredarea
bype, only clicks on the point actually fire the event.The text was updated successfully, but these errors were encountered: