Is "seriesType" valid as an array?  Whether it is or not, this is more 
simply written as:

series: {
    0: {
        targetAxisIndex: 1,
        type: 'line'
    },
    1: {
        targetAxisIndex:1,
        type: 'line'
    },
    2: {
        targetAxisIndex: 0,
        type: 'area'
    }
}

On Wednesday, April 3, 2013 9:57:34 AM UTC-4, Sergey wrote:
>
> Hi, your snippet is a little odd. Are you literally specifying *all* of 
> these options as you outlined here? Are you writing out something like 
> what's below? If so, then you're specifying the 'series' option twice. 
> While technically valid, this will have the side effect of only using the 
> last option that you specified. In your case, this is the axis options. If 
> you combine both your series options into one, your problem will be solved.
> {
>   ...
>   seriesType:{0: 'line',1: 'line',2:'area'},
>   series: {2: {type :"area"}},
>   series: {
>     0: {targetAxisIndex: 1},
>     1: {targetAxisIndex:1},
>     2: {targetAxisIndex: 0}
>   },
>   ...
> }
>
> - Sergey
>
>
> On Wed, Apr 3, 2013 at 9:26 AM, corinne zaoui <[email protected]<javascript:>
> > wrote:
>
>>      Hi,
>>
>> I try to make 2 vAxis with 2 types line and one area
>> But when i put my 2 vaxis the area dispears
>> Why i can do ?
>>
>> My options :
>>
>>
>>      seriesType:{0: 'line',1: 'line',2:'area'}
>>  ,
>>    series: {2: {type :"area"}},
>>
>>
>>         series: {
>>    0: {targetAxisIndex: 1},
>>    1: {targetAxisIndex:1},
>>    2: {targetAxisIndex: 0}
>> },
>>
>>
>> thanks
>>
>> -- 
>> 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 
>> http://groups.google.com/group/google-visualization-api?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
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 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to