Yes, you need to change your google.load() call to load the 'corechart'
package, and then google.visualization.ColumnChart will be defined.  See
documentation here:
https://developers.google.com/chart/interactive/docs/gallery/columnchart#stacked-column-charts

On Wed, Mar 13, 2019 at 1:22 PM Heywood Buzzfuddle <[email protected]>
wrote:

>
> If I do
> chart.draw(data, google.charts.BarChart.convertOptions(options));
> or
> chart.draw(data, google.charts.ColumnChart.convertOptions(options));
>
> it doesn't render.
>
> The only place i see google.visualization in my code anywhere is
> google.visualization.arrayToDataTable
>
> Am I supposed to somehow change this line:
>         var chart = new
> google.charts.Bar(document.getElementById('columnchart_material'));
>
> Terribly confused.
>
> On Wednesday, March 13, 2019 at 11:46:40 AM UTC-5, Daniel LaLiberte wrote:
>>
>> Sorry, the 'percent' and 'relative' stacking option is not supported by
>> the material 'Bar' chart.  If you can use the google.visualization.BarChart
>> or ColumnChart, it should work.  You might want to use the 'theme':
>> 'material' option to get the material colors and fonts.
>>
>>
>> --
> 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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/09362f74-b34d-42ee-9251-dd14f9557189%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/09362f74-b34d-42ee-9251-dd14f9557189%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   Cambridge 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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMersrFNwkEGw5-pC0RjeM-Gs7k0jWkQ4X6Ne5QSzBeUw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to