Combo chart y axis issue

29 views
Skip to first unread message

amol navthale

unread,
Jan 20, 2016, 6:03:05 AM1/20/16
to Google Visualization API
Hi all,

I had created combo chart but i am facing issue with y axis step.
Left y axis indicate bar chart values, right y axis indicate line chart values.
my line chart has values which are much higher values than my bar charts because of that my bar chart is shown very small.
can we set different steps for y axis, left y axis has different step and right y axis has different step??




Daniel LaLiberte

unread,
Jan 20, 2016, 8:17:48 AM1/20/16
to Google Visualization API
Hi Amol,

Perhaps you meant that both of your lines should use the right y axis, but if so, your options don't reflect that and currently the yellow line uses the left y axis along with the bar chart. I fixed it for you: https://jsfiddle.net/dlaliberte/ho4abekq/5/

We don't have a way of specifying the step or interval size for axes, but we have been planning to add such a feature at some point.  Instead, you can specify the viewWindow min and max, which will constrain what part of the data you want to see.

--
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/237b4195-dbca-4a53-9716-d761b2314c2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

amol navthale

unread,
Jan 25, 2016, 6:35:37 AM1/25/16
to Google Visualization API
Hi Daniel,

Thanks a  lot..

Regards,
Amol Navthale


On Wednesday, 20 January 2016 18:47:48 UTC+5:30, Daniel LaLiberte wrote:
Hi Amol,

Perhaps you meant that both of your lines should use the right y axis, but if so, your options don't reflect that and currently the yellow line uses the left y axis along with the bar chart. I fixed it for you: https://jsfiddle.net/dlaliberte/ho4abekq/5/

We don't have a way of specifying the step or interval size for axes, but we have been planning to add such a feature at some point.  Instead, you can specify the viewWindow min and max, which will constrain what part of the data you want to see.
On Wed, Jan 20, 2016 at 6:03 AM, amol navthale <navtha...@gmail.com> wrote:
Hi all,

I had created combo chart but i am facing issue with y axis step.
Left y axis indicate bar chart values, right y axis indicate line chart values.
my line chart has values which are much higher values than my bar charts because of that my bar chart is shown very small.
can we set different steps for y axis, left y axis has different step and right y axis has different step??




--
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