Click or drag to resize

ScalarSqlCountWidget Class

The class ScalarSqlCountWidget provides SQL Query Counter widget
Inheritance Hierarchy

Namespace:  Dynamicweb.Dashboards.Widgets
Assembly:  Dynamicweb.Dashboards (in Dynamicweb.Dashboards.dll) Version: 2.9.4
Syntax
[AddInNameAttribute("SQL Query Counter")]
[AddInDescriptionAttribute("SQL Query Counter")]
[AddInIconAttribute(KnownIcon.Straighten)]
public class ScalarSqlCountWidget : ThresholdCountWidget

The ScalarSqlCountWidget type exposes the following members.

Constructors
  NameDescription
Public methodScalarSqlCountWidget
The class ScalarSqlCountWidget constructor
Top
Properties
  NameDescription
Protected propertyBackgroundColor
Gets or sets counter background color
(Inherited from CountWidget.)
Public propertyColumns
Gets or sets widget size
(Inherited from DashboardWidget.)
Public propertyCreatedDate
Gets the created date and time.
(Inherited from DashboardWidget.)
Public propertyDefaultAction
Gets or sets action for click on counter number.
(Inherited from CountWidget.)
Public propertyDefaultBackgroundColor
Gets or sets counter default background color
(Inherited from ThresholdCountWidget.)
Public propertyElement
The to be shown
(Inherited from DashboardElementWidget.)
Public propertyId
Gets widget Id
(Inherited from DashboardWidget.)
Public propertyModifiedDate
Gets the last modified date and time.
(Inherited from DashboardWidget.)
Public propertyOrder
Gets or sets widget order
(Inherited from DashboardWidget.)
Public propertyQuery
Gets or sets sql query
Public propertyShowTitle
Gets or sets value indicating whether to show widget title.
(Inherited from DashboardWidget.)
Public propertySubtitle
Gets or sets widget subtitle
(Overrides CountWidgetSubtitle.)
Public propertyThreshold1Color
Gets or sets counter threshold 1 background color
(Inherited from ThresholdCountWidget.)
Public propertyThreshold1Condition
Gets or sets counter threshold 1 condition
(Inherited from ThresholdCountWidget.)
Public propertyThreshold1Enable
Gets or sets threshold 1 enable
(Inherited from ThresholdCountWidget.)
Public propertyThreshold1Value
Gets or sets counter threshold 1 value
(Inherited from ThresholdCountWidget.)
Public propertyThreshold2Color
Gets or sets counter threshold 2 background color
(Inherited from ThresholdCountWidget.)
Public propertyThreshold2Condition
Gets or sets counter threshold 2 condition
(Inherited from ThresholdCountWidget.)
Public propertyThreshold2Enable
Gets or sets threshold 2 enable
(Inherited from ThresholdCountWidget.)
Public propertyThreshold2Value
Gets or sets counter threshold 2 value
(Inherited from ThresholdCountWidget.)
Public propertyTitle
Gets or sets widget title
(Inherited from ThresholdCountWidget.)
Public propertyTitleAction
Gets or sets widget title action
(Inherited from DashboardWidget.)
Top
Methods
  NameDescription
Protected methodApplyThresholdState
Apply thrashold states to widget
(Inherited from ThresholdCountWidget.)
Public methodFetch
Fetches widget with data
(Inherited from CountWidget.)
Protected methodGetCounterNumber
Gets formated counter number
(Inherited from ThresholdCountWidget.)
Protected methodGetCounterValue
Gets counter value
(Overrides ThresholdCountWidgetGetCounterValue(IDashboard, String, String).)
Public methodGetIdSuitableString (Inherited from ConfigurableAddIn.)
Public methodGetOptions
Return dropdown options
(Inherited from ThresholdCountWidget.)
Public methodGetParametersToXml (Inherited from ConfigurableAddIn.)
Public methodGetParametersToXml(Boolean) (Inherited from ConfigurableAddIn.)
Protected methodIsValueFollowThresholdCondition
(Inherited from ThresholdCountWidget.)
Public methodLoadParametersFromXml (Inherited from ConfigurableAddIn.)
Public methodRender
The method render widget and return html
(Inherited from DashboardElementWidget.)
Public methodRenderAdditionalContent (Inherited from ConfigurableAddIn.)
Public methodScriptDependencies
Specifies relative paths to all script files that this widget is dependent upon.
(Inherited from DashboardWidget.)
Public methodSetValue (Inherited from ConfigurableAddIn.)
Public methodStylesheetDependencies
Specifies relative paths to all style files that this widget is dependent upon.
(Inherited from DashboardWidget.)
Public methodUpdateFromPost (Inherited from ConfigurableAddIn.)
Top
See Also