Represents a KPI widget that displays a metric with a header.
The following tables list the members exposed by the KpiWidget type.
Public Constructors| Name | Description | |
|---|---|---|
![]() |
Initializes a new instance of the KpiWidget class. |
Public Properties| Name | Description | |
|---|---|---|
![]() |
Gets or sets the format of the change value. |
|
![]() |
Gets or sets the path to the change text within the data source.If set, this takes precedence over the changeText property. |
|
![]() |
Gets or sets the static change text displayed below the main value.This property is used if changePath is not set. |
|
![]() |
Gets or sets the name of the CSS class of this widget. (Inherited from DashboardWidget.) |
|
![]() |
Gets the parent Dashboard model for this widget.This property is set automatically when the widget is added to a dashboard. (Inherited from DashboardWidget.) |
|
![]() |
Gets or sets the path within the data source to extract the relevant value. (Inherited from DashboardWidget.) |
|
![]() |
Gets or sets the ID of the data source this widget is bound to. (Inherited from DashboardWidget.) |
|
![]() |
Gets or sets the path to the footer text within the data source.If set, this takes precedence over the footerText property. |
|
![]() |
Gets or sets the static footer text displayed below the main value.This property is used if footerPath is not set. |
|
![]() |
Gets or sets the font name used to draw the header text. |
|
![]() |
Gets or sets the font size used to draw the header text. |
|
![]() |
Gets or sets the font style used to draw the header text. |
|
![]() |
Gets or sets the path to the header text within the data source.If set, this takes precedence over the headerText property. |
|
![]() |
Gets or sets the static header text displayed above the main value.This property is used if headerPath is not set. |
|
![]() |
Gets or sets the string identifier of this widget. (Inherited from DashboardWidget.) |
|
![]() |
Gets or sets the minimum font size used for the main value, in pixels. |
|
![]() |
Gets or sets options for generating mock data for this widget. (Inherited from DashboardWidget.) |
|
![]() |
Gets or sets the font name used to draw the value text. |
|
![]() |
Gets or sets the font size used to draw the value text. |
|
![]() |
Gets or sets the font style used to draw the value text. |
|
![]() |
Gets or sets the format of the main value. |
|
![]() |
Gets or sets the vertical position of the main value. |
Public Methods| Name | Description | |
|---|---|---|
![]() |
Creates the internal control of the widget, if there is any.Subclasses can override this method to create their specific content. (Inherited from DashboardWidget.) |
|
![]() |
Creates the internal control of the widget. |
|
![]() |
Disposes the internal control of the widget, if there is any.Subclasses can override this method to add their specific dispose logic. (Inherited from DashboardWidget.) |
|
![]() |
Creates the DOM structure of the widget. |
|
![]() |
Deserializes the KPI widget properties from a JSON object. |
|
![]() |
Creates the meta data dictionary that contains the editable properties of the widget. |
|
![]() |
Notifies the parent dashboard that this widget needs to be refreshed. (Inherited from DashboardWidget.) |
|
![]() |
Refreshes a DOM view of the widget with the latest data and properties. |
|
![]() |
Serializes the KPI widget properties into a JSON-compatible object. |
See Also