Search
GaugeWidget Members
Constructors Properties Methods
 


Represents a dashboard widget that displays a MindFusion Gauges control.

The following tables list the members exposed by the GaugeWidget type.

 Public Constructors

  Name Description

GaugeWidget

Initializes a new instance of the GaugeWidget class.

 Public Properties

  Name Description

cssClass

Gets or sets the name of the CSS class of this widget. (Inherited from DashboardWidget.)

dashboard

Gets the parent Dashboard model for this widget.This property is set automatically when the widget is added to a dashboard. (Inherited from DashboardWidget.)

dataPath

Gets or sets the path within the data source to extract the relevant value. (Inherited from DashboardWidget.)

dataSource

Gets or sets the ID of the data source this widget is bound to. (Inherited from DashboardWidget.)

gaugeType

Gets or sets the type of the displayed gauge.

horizontalMargin

Gets or sets the horizontal margin between the border of the gauge card and its contents.

id

Gets or sets the string identifier of this widget. (Inherited from DashboardWidget.)

margin

Gets or sets the margin between the border of the gauge and its contents.

maxPath

Gets or sets the property path used to read the maximum value from the bound data source.

maxValue

Gets or sets the maximum value displayed by the gauge.

minPath

Gets or sets the property path used to read the minimum value from the bound data source.

minValue

Gets or sets the minimum value displayed by the gauge.

mockOptions

Gets or sets options for generating mock data for this widget. (Inherited from DashboardWidget.)

targetPath

Gets or sets the property path used to read the target value from the bound data source.

targetValue

Gets or sets the target value displayed by the gauge.

valuePath

Gets or sets the property path used to read the current value from the bound data source.

verticalMargin

Gets or sets the vertical margin between the border of the gauge card and its contents.

 Public Methods

  Name Description

bindControl

Databinds the internal control of the widget.

createControl

Creates the internal control of the widget, if there is any.Subclasses can override this method to create their specific content. (Inherited from DashboardWidget.)

createControl

Creates the internal control of the widget.

disposeControl

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.)

draw

Creates the DOM structure of the widget.

fromJson

Deserializes the gauge widget properties from a JSON object.

getMetadata

Creates the meta data dictionary that contains the editable properties of the widget.

invalidate

Notifies the parent dashboard that this widget needs to be refreshed. (Inherited from DashboardWidget.)

refresh

Refreshes a DOM view of the widget with the latest data and properties.

toJson

Serializes the gauge widget properties into a JSON-compatible object.

 See Also