You would need to provide null values in columns that dont apply for a
particular row.  So for your data, you should probably do it like this:

x axis       client1   client2   client3
kw1            1         4            null
kw2            null     null         5
kw3            6         null         null
kw4            null     7             null




On Wed, Jun 24, 2015 at 3:08 PM, SANTHOSH THANGARAJ <
[email protected]> wrote:

> Hi Daniel,
>
> thank you for your reply.
>
> The number of column will be of different for each row at the loading of
> page.
>
> Do i need  to *manually  initialize *the value to null if that column
> does not exist for particular row?
>
> *Example *
>
> x axis         yaxis        zaxis(stacked column one above the other)
> keyword1     client1   1
>
> keyword1     client2   4
>
> keyword2     client3   5
>
> keyword3     client1   6
>
> keyword4      client2    7
>
> I hope, it is  clear now?
>
> Best Regards
> santhosh
>
>
>
> On Wednesday, June 24, 2015 at 2:50:05 PM UTC-4, Daniel LaLiberte wrote:
>>
>> Santhosh,
>>
>> Can you give an example of what this would look like?   I'm not sure what
>> you mean by "dynamic" in this case.
>>
>> You can already stack any number of series where some of the values are
>> null, which ends up being almost the same as using 0 values.  Did you mean
>> something different?
>>
>> On Wed, Jun 24, 2015 at 2:27 PM, SANTHOSH THANGARAJ <
>> [email protected]> wrote:
>>
>>> How do we create dynamic stacked column chart with unequal number of
>>> columns?
>>>
>>>
>>>  --
>>> 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.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>>  - 978-394-1058
>> [email protected]   5CC, Cambridge MA
>> [email protected] 9 Juniper Ridge Road, Acton 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
> http://groups.google.com/group/google-visualization-api.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton 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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to