Created
December 27, 2012 21:45
-
-
Save slawekkolodziej/4392315 to your computer and use it in GitHub Desktop.
highcharts reverse flag stacking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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