Multiple charts sharing the same x-axis in Google Charts

33 views
Skip to first unread message

Srini

unread,
Apr 10, 2018, 10:33:46 AM4/10/18
to Google Visualization API
Hi,

I need to have multiple charts sharing the same x-axis. For reference I have attached the files. Could you please help me to move forward?

Thanks,
Srini
sample.png
Untitled.png

Daniel LaLiberte

unread,
Apr 10, 2018, 10:55:50 AM4/10/18
to Google Visualization API
The way to implement this is by using the same width option, chartArea.width, .left, and .right options, and the same hAxis.viewWindow.min and .max options for each chart.

--
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/388a5e4a-677a-4948-82d0-d92a6b5c80e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Message has been deleted

Srini

unread,
Apr 11, 2018, 2:06:26 AM4/11/18
to Google Visualization API
Hi Daniel,

Thanks for the quick reply. Can we use the only one chart instead of multiple charts?

Thanks,
Srini


On Tuesday, April 10, 2018 at 8:25:50 PM UTC+5:30, Daniel LaLiberte wrote:
The way to implement this is by using the same width option, chartArea.width, .left, and .right options, and the same hAxis.viewWindow.min and .max options for each chart.

On Tue, Apr 10, 2018 at 10:33 AM Srini <sriniv...@gmail.com> wrote:
Hi,

I need to have multiple charts sharing the same x-axis. For reference I have attached the files. Could you please help me to move forward?

Thanks,
Srini

--
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-visualization-api+unsub...@googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages