Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
stephanevanraes
committed
Feb 27, 2015
1 parent
0ed94f2
commit caf375c
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
samples/issues/highcharts-4.1.1/3898-zones-outofrange/demo.details
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
name: Highcharts Demo | ||
authors: | ||
- Torstein Hønsi | ||
... |
3 changes: 3 additions & 0 deletions
3
samples/issues/highcharts-4.1.1/3898-zones-outofrange/demo.html
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<script src="http://code.highcharts.com/highcharts.js"></script> | ||
|
||
<div id="container"></div> |
17 changes: 17 additions & 0 deletions
17
samples/issues/highcharts-4.1.1/3898-zones-outofrange/demo.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
}] | ||
}); | ||
}); |