Skip to content

Tern & Google Charts support

Angelo edited this page Sep 9, 2015 · 3 revisions

tern.googleapi provides the gcharts tern plugin which gives you a support for Google Charts.

After installing and converting your project as Tern Project, go at Tern project property, click on Tern / Modules item and select the Google Charts tern plugin :

Select ExtJS Plugin

After that you can benefit with Google Chart completion :

google Charts Completion

Completion works for Google Chart method :

Google Chart Completion On Map

This Google Chart tern plugin can be used inside WebBrowser. You can see demo here.

Object literal

Completion for object literal :

GChart Object literal completion

Validation for object literal (which is available if you enable the (Semantic) Lint linter) :

GChart Object literal validation

Web Browser

You can play with online demo which uses CodeMirror (inside Web Browser).

Clone this wiki locally