Skip to content

Commit

Permalink
Added test for #3898
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanevanraes committed Feb 27, 2015
1 parent 0ed94f2 commit caf375c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
@@ -0,0 +1,5 @@
---
name: Highcharts Demo
authors:
- Torstein Hønsi
...
@@ -0,0 +1,3 @@
<script src="http://code.highcharts.com/highcharts.js"></script>

<div id="container"></div>
17 changes: 17 additions & 0 deletions samples/issues/highcharts-4.1.1/3898-zones-outofrange/demo.js
@@ -0,0 +1,17 @@
$(function () {
$('#container').highcharts({
title: {
text: 'Zones were not applied correctly if they were out of range'
},
yAxis: {
tickPositioner: function () { return [-6, -4, -2]; }
},
series: [{
type: 'spline',
data: [-4, -3, -2, -3, -2, -4],
color: '#00F',
negativeColor: '#F00',
threshold: 0
}]
});
});

0 comments on commit caf375c

Please sign in to comment.