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
/** | |
* Experimental Draggable points plugin | |
* Revised 2012-02-08 | |
* | |
* On Saving this jsbin, remember to update http://jsfiddle.net/highcharts/AyUbx/ | |
*/ | |
(function(Highcharts) { | |
var addEvent = Highcharts.addEvent, | |
each = Highcharts.each; | |
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
Highcharts.setOptions({ | |
colors: ['#0187DD', '#0F283E', '#77C100', '#FF6400', '#CF0000', '#502864', '#D72870'], | |
plotOptions: { | |
series: { | |
shadow: false | |
} | |
}, | |
tooltip: { | |
borderRadius: 2, | |
borderColor: '#AAA', |
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
Highcharts.setOptions({ | |
colors: ["#8085e8", "#252530", "#90ee7e", "#8d4654", "#2b908f", | |
"#76758e", "#f6a45c", "#7eb5ee", '#f45b5b', '#9ff0cf'] | |
}); |
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
diff --git a/js/modules/exporting.src.js b/js/modules/exporting.src.js | |
index 398049b..1b37e48 100644 | |
--- a/js/modules/exporting.src.js | |
+++ b/js/modules/exporting.src.js | |
@@ -204,6 +204,7 @@ extend(Chart.prototype, { | |
sourceHeight, | |
cssWidth, | |
cssHeight, | |
+ html, | |
options = merge(chart.options, additionalOptions); // copy the options and add extra options |
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
/** | |
* @license @product.name@ JS v@product.version@ (@product.date@) | |
* Exporting module | |
* | |
* (c) 2010-2013 Torstein Hønsi | |
* | |
* License: www.highcharts.com/license | |
*/ | |
// JSLint options: |
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
/** | |
* @license Highcharts Merge | |
* | |
* (c) 2009-2014 Torstein Honsi | |
* | |
* License: MIT | |
* | |
* This function is part of the Highcharts core, and shared under an MIT license on | |
* user request. | |
*/ |
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
Year Annual mean 5 year mean | |
1880 -0,31 | |
1881 -0,22 | |
1882 -0,28 -0,29 | |
1883 -0,3 -0,29 | |
1884 -0,33 -0,3 | |
1885 -0,32 -0,32 | |
1886 -0,29 -0,32 | |
1887 -0,35 -0,28 | |
1888 -0,28 -0,3 |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1"/> | |
<title>Highcharts test tool - jsFiddle demo</title> | |
<script type='text/javascript' src='http://code.jquery.com/jquery-compat-git.js'></script> | |
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
diff --git a/js/parts/Axis.js b/js/parts/Axis.js | |
index 0b5a1b5..d933a04 100644 | |
--- a/js/parts/Axis.js | |
+++ b/js/parts/Axis.js | |
@@ -134,7 +134,7 @@ Axis.prototype = { | |
//textAlign: dynamic, | |
//rotation: 0, | |
formatter: function () { | |
- return Highcharts.numberFormat(this.total, -1); | |
+ return this.nullCount ? '' : Highcharts.numberFormat(this.total, -1); |
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
// This gist is deprecated, doesn't work with newer versions of JSDom. | |
// Instead, use https://www.npmjs.com/package/highcharts-jsdom |
OlderNewer