Re: combining candlesticks and line with Google Charts Tools

1,345 views
Skip to first unread message

asgallant

unread,
Jun 14, 2012, 11:55:14 AM6/14/12
to google-visua...@googlegroups.com
Answered a couple days ago: https://groups.google.com/d/msg/google-visualization-api/-8FbfKUUoBc/Qp8nMyIw5DsJ

On Thursday, June 14, 2012 3:54:31 AM UTC-4, Lucero del Alba wrote:
Hi!

I was wondering if it would be possible to have both, candlesticks and lines on a single compound chart.  I know this was possible with the now deprecated Image Charts API (see compound charts » candlestick charts), and yet one could use a line chart as a control for a candlestick one -which by the way I find rather amazing on how easy it is to implement, kudos to the Google folks- (see Controls and Dashboards » ChartRangeFilter Control); but is it possible with the current Google Charts Tools to compound candles and lines?  If so, would somebody mind posting some working code to have a peep?

Thanks in advance!

--
Lucero

Lucero del Alba

unread,
Jun 14, 2012, 7:41:00 PM6/14/12
to google-visua...@googlegroups.com
wow, that is just great asgallant!

It took me some time to realize that my labels for the lines I drew were not working 'cause I had the opt_firstRowIsData option set a true for the arrayToDataTable() method.

Man... multiple lines, colors settings, smoothed lines (via curveType: 'function'), graphical controls; I can't stress enough what a good tool this is, and what a good job you guys do.

Cheers!

--
Lucero
Reply all
Reply to author
Forward
0 new messages