How to save an image of the chart on the server with highcharts?

It could be done really easy with PhantomJS. You can render Highchart chart and save it to SVG, PNG, JPEG or PDF. The example below renders a demo Highcharts diagram to SVG and PDF at the same time: var system = require(‘system’); var page = require(‘webpage’).create(); var fs = require(‘fs’); // load JS libraries page.injectJs(“js/jquery.min.js”); … Read more

Reload chart data via JSON with Highcharts

The other answers didn’t work for me. I found the answer in their documentation: http://api.highcharts.com/highcharts#Series Using this method (see JSFiddle example): var chart = new Highcharts.Chart({ chart: { renderTo: ‘container’ }, series: [{ 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] }] }); // the button action $(‘#button’).click(function() { chart.series[0].setData([129.2, … Read more

How can i have color axis in bubble chart using Highchart?

Based on the answer from this topic – stepped-color-shading-in-highcharts-doughnut-chart. Wrapping bubble’s prototype: var bubbleProto = Highcharts.seriesTypes.bubble.prototype; bubbleProto.axisTypes = [‘xAxis’, ‘yAxis’, ‘colorAxis’]; bubbleProto.optionalAxis=”colorAxis”; bubbleProto.colorKey = ‘y’; Highcharts.wrap(bubbleProto, ‘translate’, function(proceed) { proceed.apply(this, Array.prototype.slice.call(arguments, 1)); Highcharts.seriesTypes.heatmap.prototype.translateColors.call(this); }); Live example and output http://jsfiddle.net/4y3qgdmn/41/