Hi Krys,

We currently don't have any code to calculate totals in the sankey diagram,
but there's no reason you couldn't calculate the totals yourself and place
them directly in the strings. So you would wind up with something like
this: http://jsfiddle.net/5c2urqbx/1/

You could use DataView calculated columns to insert these values
automatically, but you would still have to write something to calculate it.

On Wed, Mar 4, 2015 at 10:29 AM Khrys <[email protected]> wrote:

> I was thinking about to put the total in the node as an option for future
> analisys. But, is it even possible to show the total as described bellow?
>
> Thanks again.
>
>
> On Friday, February 27, 2015 at 2:18:57 PM UTC-3, Khrys wrote:
>>
>> Is it possible to show a total in sankey diagram?
>>
>> For example, the fiddle bellow show Fruits > Place. I would like to know
>> how many fruits are liked to the places and in places how many fruits are
>> linked. So something like:
>>
>> *Mango (3)*
>> *Apple (2)*
>> *Pineapple (1)*
>>
>> All three are linked to Place A, so Place A should be:
>>
>> *(7) Place A*
>>
>> (1 more is because of Grape)
>>
>> http://jsfiddle.net/Khrys/5c2urqbx/
>>
>>
>> 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].
> 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.
>

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