/simple_chart_app

Primary LanguageJavaScriptMIT LicenseMIT

Simple chart block

This example blocks shows a bar chart of data from a table.

The code shows:

  • How to use the Chart.js external library.

  • How to store block-related data using globalConfig and Synced UI components.

How to run this block

  1. Create a new base using the Sales CRM template.

  2. Create a new block in your new base (see Create a new block), selecting "Simple chart" as your template.

  3. From the root of your new block, run block run.

See the block running

Block updating chart as the user changes data