Re: [visualization-api] scaleColumns

12 views
Skip to first unread message

Daniel LaLiberte

unread,
Nov 12, 2015, 8:22:41 AM11/12/15
to Google Visualization API
Hi Nikita,

The scaleColumns option doesn't work the way you are expecting.  The values in the array are merely indices of the series, specifying which series should go on the left or right sides.  If you specify 2 or more series indices, the first series will be put on the left and the rest on the right.  This is a bit contrary to what the documentation currently says.

Given different axes, the series will be scaled independently, so you won't end up with one flat-lining.

On Thu, Nov 12, 2015 at 4:48 AM, Nikita Voaotnyak <nikita.v...@gmail.com> wrote:
Hello, does this property "scaleColumns"  even work?

I have 2 charts combined in one , the problem is one of them is measured in thousands and the other one in millions. So, i need 2 different scales, because the first one looks like a flat line.

I am using the Annotation Chart 

var options = {
   displayAnnotations: true,
        scaleColumns: [5000,5000000],
   };

var options = {
   displayAnnotations: true,
        scaleColumns:'allmaximized',
   };

NONE of those work, please help

--
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 http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/37bdeead-22fd-4ab1-b321-839695f7375a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA
Reply all
Reply to author
Forward
0 new messages