OK! I'll do that, thanks very much

On Thursday, May 14, 2015 at 10:44:59 AM UTC+10, Danielle O. wrote:
>
> Hello,
> I am trying to created a Percentage Stacked chart with the *isStacked *option 
> 'percent', however anything other than the *true *option is not 
> recognised.
>
> I am using: https://jsfiddle.net/api/post/library/pure/ and changing var 
> options to include *isStacked*:
>
>       var options = {
>         title: 'Motivation and Energy Level Throughout the Day',
>         focusTarget: 'category',
>         hAxis: {
>           title: 'Time of Day',
>           format: 'h:mm a',
>           viewWindow: {
>             min: [7, 30, 0],
>             max: [17, 30, 0]
>           },
>           textStyle: {
>             fontSize: 14,
>             color: '#053061',
>             bold: true,
>             italic: false
>           },
>           titleTextStyle: {
>             fontSize: 18,
>             color: '#053061',
>             bold: true,
>             italic: false
>           }
>         },
>         vAxis: {
>           title: 'Rating (scale of 1-10)',
>           textStyle: {
>             fontSize: 18,
>             color: '#67001f',
>             bold: false,
>             italic: false
>           },
>           titleTextStyle: {
>             fontSize: 18,
>             color: '#67001f',
>             bold: true,
>             italic: false
>           }
>         }
>       };
>
>
> to:
>
>       var options = {
>         *isStacked: 'percent',*
>         title: 'Motivation and Energy Level Throughout the Day',
>         focusTarget: 'category',
>         hAxis: {
>           title: 'Time of Day',
>           format: 'h:mm a',
>           viewWindow: {
>             min: [7, 30, 0],
>             max: [17, 30, 0]
>           },
>           textStyle: {
>             fontSize: 14,
>             color: '#053061',
>             bold: true,
>             italic: false
>           },
>           titleTextStyle: {
>             fontSize: 18,
>             color: '#053061',
>             bold: true,
>             italic: false
>           }
>         },
>         vAxis: {
>           title: 'Rating (scale of 1-10)',
>           textStyle: {
>             fontSize: 18,
>             color: '#67001f',
>             bold: false,
>             italic: false
>           },
>           titleTextStyle: {
>             fontSize: 18,
>             color: '#67001f',
>             bold: true,
>             italic: false
>           }
>         }
>       };
>
> The option *isStacked: true *returns a Stacked version of the chart.
> The option *isStacked: 'absolute' *does not work either which according 
> to the documentation is functionally equivalent of *isStacked: true*
>
> What am I missing?
>
> Thanks,
> Danielle
>

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