Order of the charts (over/under)

12 views
Skip to first unread message

eduard...@embraco.com

unread,
Jun 6, 2016, 5:56:02 PM6/6/16
to Google Visualization API
Hey guys, whats up. The GCharts is working great for me, however, today I've found something I can't get around.

I'm willing to plot a line over some candlesticks, but so far I could not.

The html works just ok when I do something like this, but the candlesticks end up over the lines:

  series: {     
          0: {targetAxisIndex: 1, type: 'line'},
          1: {targetAxisIndex: 1, type: 'line'},
          2: {targetAxisIndex: 0, type: 'candlesticks'},
          3: {targetAxisIndex: 0, type: 'candlesticks'},
         4: {targetAxisIndex: 0, type: 'candlesticks'},
         5: {targetAxisIndex: 0, type: 'candlesticks'},       
        },

If I try to change the type of the 4 and 5 series to 'line' and the 0 to 3 to candlesticks, the chart does not show up.

Do you know a way around it?

Cheers,
Reply all
Reply to author
Forward
0 new messages