A gadget is a component of a dashboard. You can place gadgets to the pre-defined grids of the layout of a page as described below.
...
Follow the steps below to select a datasource to get data for the gadget.
Tip |
---|
You need to create either a persisted event stream or a table in the Data Access Layer, to select it as the source of data to generate the graph. |
- Log in to the dashboard using Carbon login credentials, if you are not already logged in.
- Click the following CREATE GADGET icon in the top menu bar.
- Select the input datasource as shown below. It can be either an analytics table or an event stream.
- Click Preview Data to view a preview of the datasource as shown below.
- Click Next.
...
Use the sample gadget configuration structures in the <DAS_HOME>/repository/deployemnt/server/jaggeryapps/portal/store/carbon.super/gadget/
directory to create a custom gadget Add the following resources and create the configuration parent directory of your custom gadget.
...