Skip to content

Instantly share code, notes, and snippets.

@slawekkolodziej
Created December 27, 2012 21:45
Show Gist options
  • Save slawekkolodziej/4392315 to your computer and use it in GitHub Desktop.
Save slawekkolodziej/4392315 to your computer and use it in GitHub Desktop.
highcharts reverse flag stacking
(function (HC) {
var drawPoints = HC.seriesTypes.flags.prototype.drawPoints;
HC.seriesTypes.flags.prototype.drawPoints = function () {
drawPoints.call(this);
var points = this.points,
l, i;
for (i = 0, l = points.length; i < l; i++) {
points[i].graphic.toFront();
}
};
}(Highcharts));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment