Candlestick - Multiple Series - Different Alignment

18 views
Skip to first unread message

josep...@gmail.com

unread,
Mar 17, 2016, 1:24:54 PM3/17/16
to Google Visualization API, dlali...@google.com
Hi All,

In my project, I am using two sets of candlestick for a single attribute. I made use of the following type of data input:

['Attribute', 1, 8, 8, 8, 'Individual', 110,120,120,120],

But the candlesticks are not aligned. Both have different center axes. Is there a way to align them, so that both have the same axis ?

Thanks,
Joseph.

Sergey Grabkovsky

unread,
Mar 17, 2016, 1:29:42 PM3/17/16
to Google Visualization API, dlali...@google.com
Hi Joseph,

This is done intentionally, similarly to how bars are laid out next to each other. The reasoning for this is that if it wasn't done, the candlesticks would overlap (although not in your case, since your data for each series is wildly different).

I believe you can work around this behavior by only having one series with some interval roles, although it'll probably take more work to get it looking the way you want.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/8b5b682d-14d6-4a12-ae4e-8c379013395c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

unnamed.gif

Sergey Grabkovsky

Software Engineer

Google, Inc

gra...@google.com


Reply all
Reply to author
Forward
0 new messages