Set initial charts on tall charts

Believe me, when I say, I was looking for a solution to this simple problem here and on the Internet in general.

My site has a high performance solution. Users in highcharts can dynamically display / hide graphs loaded with a chart. I want to load, say 3 sets of graph data, but hide (the user can show after that if he wants) 1 of them.

so I want to download 3 graphics, but only display 2 of them.

 chart1 = new Highcharts.Chart({ chart: {renderTo: "graphDiv2", zoomType: "xy"
+3
source share
2 answers

3 div div. , , , div, .
, jQuery.hide() jQuery.show().

+4

,

 legend: {
        enabled: true,
        layout: 'vertical',
        align: 'right',
        verticalAlign: 'top',
        y: 150 ,
      },

, , , hide()/show()

0

All Articles