8.4 Visualization Charting Weblets

The visualization charting weblets provide you a means to generate commonly used charts. They are useful to compare distribution of values, trends and proportional part-to-whole information.

The visualization charting weblets use the Google Chart Javascript library. The weblets provide you an easy way to use this library from LANSA.

Note: The charts weblets use Google's Javascript library (retrieved from Google's site).

Google Charts Data Policy
Most charts are generated locally with your data. Some require your data to be sent to Google. Each chart weblet identifies if data is processed locally or sent to Google.

Content Security Policy
You need to add the Google charts domain(s) to the list of domains from where fonts, images, styles and scripts can be loaded. Use the JavaScript eval function (unsafe-eval).

There are four types of charts you can create using the Google Charting weblets:

Weblet name


Google Visualization Bar Chart (std_gbar_chart_v2)

Single and multiple data series. You can create vertical, horizontal, grouped, stacked, and overlapped bar charts.

Google Visualization Geo Chart (std_ggeo_chart_v2)

Shows data on a map (worldwide, region or country). You can have regional, marker or text geo charts.

Google Visualization Line Chart (std_gline_chart_v2)

Single and multiple data series. You can create various types of line charts and put markers on data points.

Google Visualization Pie Chart (std_gpie_chart_v2)

Simple and 3D pie charts for single data series. Use concentric pie charts for multiple data series.


Before you start using these weblets, you should first read Common Chart Topics.