QuickStart Google Bar Chart

LANSA WAM

QuickStart – Google Bar Chart

To create a bar chart, you need to create a webroutine that specifies the a JSON list with the data values in its WEB_MAP as *OUTPUT.

1.  Click on the Weblets tab, select Charting Weblets from the drop-down list near the top and locate the Google Bar Chart weblet.

2.  Drag the Google Bar Chart weblet over the designer and release the left-mouse button. A placeholder image will appear on the designer.

3.  Set the listName property with the list name in your WEB_MAP.

4.  Use the transpose property if you want to transpose rows and column

5.  Set your chart title, labels and legends as required.