G Suite Business customers can preview App Maker. Ask your domain admin to apply for early access.

Sample: Charts

This sample shows how to use Bar and Pie Chart to create an app that displays company statistics.

Open sample

Features Used:

  • Google Drive Tables
  • Basic widgets: Label, Panel, CheckBox, Button, and Dropdown
  • Advanced widgets: Form, Pie Chart, and Bar Chart
  • UI/Client scripting: calling a server script from the Button event, using simple array and custom function as data providers for pie charts
  • Databinding: bind charts with the model's data, bind chart properties with a checkbox value
  • Server scripting: loading data into the datasource from a predefined javascript array