Skip to content

Instantly share code, notes, and snippets.

View TorsteinHonsi's full-sized avatar

Torstein Hønsi TorsteinHonsi

View GitHub Profile
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
@TorsteinHonsi
TorsteinHonsi / gist:7333360
Last active December 27, 2015 13:29
Highcharts new colors
Highcharts.setOptions({
colors: ["#8085e8", "#252530", "#90ee7e", "#8d4654", "#2b908f",
"#76758e", "#f6a45c", "#7eb5ee", '#f45b5b', '#9ff0cf']
});
Highcharts.setOptions({
colors: ['#0187DD', '#0F283E', '#77C100', '#FF6400', '#CF0000', '#502864', '#D72870'],
plotOptions: {
series: {
shadow: false
}
},
tooltip: {
borderRadius: 2,
borderColor: '#AAA',
/**
* 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;