📄️ Overview
The Corvina Widget SDK is a set of tools to create widgets for Corvina dashboards. The SDK is based on Vue.js and TypeScript.
📄️ Installation
Requirements
📄️ Template
This SDK contains some templates for corvina widgets.
📄️ Logic and State
To define the widget state and functionality is necessary to define a JavaScript class that extends `BaseGraphicWgt`.
📄️ Graphical Component
The Corvina front-end uses Vue.js and the widget graphics is defined using a Vue.js component.
📄️ Property Panel
In the Corvina dashboard editor a widget can be configured using the Property Panel. We can choose to expose our widget properties defined inside the widget logic in Property Panel.
📄️ Gallery
Once a widget is registered it will be available in the widget gallery.
📄️ Deploy
In order to deploy your widget to Corvina your account must have the permission to modify the organization.
📄️ Datalink
Datalink is the mean through which widget property is connected to data or in general to another widget property.
📄️ Network
The SDK is connected to a corvina instance to test the widget in a real context. The corvina instance is defined in index.ts:
📄️ Global Clock
In the top bar of every dashboard there is a clock icon that shows and controls a time interval. It is possible to connect the widget to this time interval to synchronize the data fetching.
📄️ Internationalization
Corvina SDK supports internationalization using the library i18n.
📄️ Historical data
Datalinks are used also to get historical data. In this example we will see how to get historical data from them.
🗃️ Changelogs
3 items