*ok so i have built an example for this subject:*

here: http://jsfiddle.net/hzdyojca/

data table is hard coded an all columns exist when initialized:
['Date', 'A2', 'A3', 'A4'],
[2004  , 3.5 , 5   , 4.4 ],
[2005  , 3.7 , 5   , 4.5 ],
[2006  , 3.7 , 5   , 4.6 ],
[2007  , 3.8 , 5   , 4.7 ]

As you can see chart A presents column 0 and 1 perfectly.
chart B is supposed to preset column 0 and 2 (date and A3)
and chart C is supposed to present some of them together.

I don't understand how to make chart B show only the red line.

would appreciate more help.
thanks.

On Monday, June 4, 2018 at 3:45:43 AM UTC+3, Daniel LaLiberte wrote:
>
> At the point where it complains about the column index 2, the data table 
> given to that part of your dashboard only has 2 columns, with indices 0 and 
> 1.  
>
> So I would recommend simplifying your dashboard as much as possible to 
> figure out what is going wrong.  Does it work with only one chart?
>
> On Sun, Jun 3, 2018 at 10:23 AM nadavs <[email protected] <javascript:>> 
> wrote:
>
>>  Invalid column index 2. Should be an integer in the range [0-1].
>>
>>> this ^^^^^^^^^ applies to any column index greater than 1 by the way.
>>>
>> -- 
>> 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 [email protected] 
>> <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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/6d00f3c5-3c33-4053-a916-73d839383ff1%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-visualization-api/6d00f3c5-3c33-4053-a916-73d839383ff1%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
> [email protected] <javascript:>   5CC, Cambridge MA
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/1c139e02-b6be-4749-b38b-31411280f1f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to