Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make a multi pane on highstock (highcharts) which contain a stacked area graph?
    text
    copied!<p>I want to know if it will be possible to use the two pane view (as <a href="http://www.highcharts.com/stock/demo/candlestick-and-volume" rel="nofollow">this example</a>) with a stacked area graph ?</p> <p>I tryed to make it works in a fiddle <a href="http://jsfiddle.net/g2xDj/2/" rel="nofollow">http://jsfiddle.net/g2xDj/2/</a>, but, the stacked area graph is not displayed.</p> <pre><code> var stacked_data = [{ name: 'Asia', data: [[1364292000,502], [1364294000,635], [1364296000,809], [1364298000,947], [1364300000,1402], [1364302000,3634], [1364304000,5268]] }, { name: 'Africa', data: [[1364292000,106], [1364294000,107], [1364296000,111], [1364298000,133], [1364300000,221], [1364302000,767], [1364304000,1766]] }, { name: 'Europe', data: [[1364292000,163], [1364294000,203], [1364296000,276], [1364298000,408], [1364300000,547], [1364302000,729], [1364304000,628]] }]; var line_data = [[1364292000,502], [1364294000,635], [1364296000,809], [1364298000,947], [1364300000,1402], [1364302000,3634], [1364304000,5268]]; // create the chart $('#container').highcharts('StockChart', { chart : { //type: 'area', renderTo : 'container', zoomType: 'x' }, plotOptions: { area: { stacking: 'normal' } }, rangeSelector: { selected: 1 }, title: { text: 'AAPL Historical' }, yAxis: [{ title: { text: 'Load' }, height: 200, lineWidth: 2 }, { title: { text: 'Load 2' }, top: 300, height: 100, offset: 0, lineWidth: 2 } ], series: [ { name: "area", data: stacked_data, yAxis: 0 },{ name: "line", data: line_data, yAxis: 1 }] }); }); </code></pre> <p>Anybody have an idea to help me ?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload