ApexCharts - Getting started
Overview
This doc will explain how to get ApexChart setup to use in an app.
Installing and Initializing
Add the following tags to your DOM header insertions:
Add the following line to a function on the named action ‘onAppLoad’, under the Global Named Actions (App level):
Example
Here is an example of how to draw a chart using ApexCharts in your app.
Sample Data
For this example we will be using these sample data, that can be saved to your Data Model as ‘data’:
Adding charts to page schema
All we need is an html component with the ApexChart tag, as following:
The expected result should be as shown in the image below.
Reference
More information can be found on ApexCharts docs
Last updated