Gantt was changed from GanttChart to Gantt, but I forget exactly when. To
get the latest version, you need to switch from google.load() to
google.charts.load().  See
https://developers.google.com/chart/interactive/docs/basic_load_libs#update-library-loader-code

Most charts start with google.visualization.  The material charts start
with google.charts, but the prefix (google.visualization vs google.charts)
doesn't mean anything significant.

On Thu, Mar 9, 2017 at 4:36 AM, Snehadeep Mohite <su...@treeni.com> wrote:

>
> *I am trying to load 'Gannt' chart package using visualization. *
>
> google.load('visualization', '1.0', {packages: ['charteditor', 'sankey',
> 'gantt'], callback: loadEditor});
>
> But, I am getting below error,
>
> *Uncaught Error: Module: 'visualization' with package: 'gantt' not found!*
>
> and *what is the difference between google.charts and
> google.visualization*
>
>>
>> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to google-visualization-api@
> googlegroups.com.
> 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/1fdc2dba-6f1a-474c-bf20-
> 73c80457b440%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/1fdc2dba-6f1a-474c-bf20-73c80457b440%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>
dlalibe...@google.com <dlalibe...@google.com>   5CC, 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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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/CAOtcSJM1AwR4Ghh5wzmi80J%2Be-TNX9B5GsOfUKLeoq9XPrsLTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to