Settings and activity
1 result found
-
614 votes
New experimantal implementation for Highcharts 4.1 is available at http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/studies/alignthresholds/.
This implementation looks a the threshold on the primary axis (the one first defined), and aligns the threshold of any following axis to that of the primary axis.
An error occurred while saving the comment An error occurred while saving the comment Luis Miguel commentedHi, the change in the plugin (version 2013-12-02) works fine, but I detected another bug trying with different values.
For example, I used the following series:
series: [{
type: 'line', data: [1129.9, 1171.5, 1106.4, 1129.2, 1144.0, 1176.0, 1135.6, 1148.5, 1216.4, 1194.1, 1195.6, 1154.4]
},{
type: 'line', data: [29.9, -71.5, -106.4, -129.2, -144.0, -176.0, -135.6, -148.5, -216.4, -194.1, -95.6, -54.4]
}, {
type: 'line', data: [129.9, 271.5, 306.4, -29.2, 544.0, 376.0, 435.6, 348.5, 216.4, 294.1, 35.6, 354.4],
yAxis: 1
}]Serie 1, new. All values positive and higher than 1000
Serie 2, the same that original serie 1
Serie 3, the same that original serie 2Whenever serie 1 is of type line, when it shows/hides serie 2 from the legend, does not align the axes.
Luis Miguel supported this idea ·
Ok, tested. It works.
Best regards.