AnsweredAssumed Answered

google charts value list

Question asked by katier08 on May 28, 2016
Latest reply on May 30, 2016 by katier08

Hello everyone, I would like to insert a value list in my pie chart, how can I do?
I am attaching the code, thanks for helping me

 

var data = google.visualization.arrayToDataTable([

          ['Task', 'Hours per Day'],

          ['Work',     11],

          ['Eat',      2],

          ['Commute',  2],

          ['Watch TV', 2],

          ['"& recipes::nation & "', " & recipes::${0000R} & " ]

        ]);

 

I wish I was in the graph the value list of nations, Italy, Japan, U.K., however the figure only shows one nation at a time, but I would like all those in the value list (nat)  that contains all the nations

in this instance I should say japan 1, Italy 1,mexico 1

Instead he tells me italy 3, because there are only three records, they shall be divided by country

 

I am attaching two photos, google chart 1, 2 fm chart, I wish that the google chart becomes like that of fm as in the picture

google charts

 

Screenshot_36.jpg

 

fm chart

Screenshot_21.jpg

Outcomes