Click or drag to resize

ThresholdCountWidget Class

The class ThresholdCountWidget provides base counter dashboard widget with threshold states
Inheritance Hierarchy

Namespace:  Dynamicweb.Dashboards.Widgets
Assembly:  Dynamicweb.Dashboards (in Dynamicweb.Dashboards.dll) Version: 2.9.4
Syntax
[AddInUseParameterGroupingAttribute(true)]
public abstract class ThresholdCountWidget : CountWidget

The ThresholdCountWidget type exposes the following members.

Constructors
  NameDescription
Protected methodThresholdCountWidget
Initializes a new instance of the ThresholdCountWidget class
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
(Overrides CountWidgetDefaultBackgroundColor.)
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 propertyShowTitle
Gets or sets value indicating whether to show widget title.
(Inherited from DashboardWidget.)
Public propertySubtitle
Gets or sets counter sub title
(Inherited from CountWidget.)
Public propertyThreshold1Color
Gets or sets counter threshold 1 background color
Public propertyThreshold1Condition
Gets or sets counter threshold 1 condition
Public propertyThreshold1Enable
Gets or sets threshold 1 enable
Public propertyThreshold1Value
Gets or sets counter threshold 1 value
Public propertyThreshold2Color
Gets or sets counter threshold 2 background color
Public propertyThreshold2Condition
Gets or sets counter threshold 2 condition
Public propertyThreshold2Enable
Gets or sets threshold 2 enable
Public propertyThreshold2Value
Gets or sets counter threshold 2 value
Public propertyTitle
Gets or sets widget title
(Overrides DashboardWidgetTitle.)
Public propertyTitleAction
Gets or sets widget title action
(Inherited from DashboardWidget.)
Top
Methods
  NameDescription
Protected methodApplyThresholdState
Apply thrashold states to widget
Public methodFetch
Fetches widget with data
(Inherited from CountWidget.)
Protected methodGetCounterNumber
Gets formated counter number
(Overrides CountWidgetGetCounterNumber(IDashboard, String).)
Protected methodGetCounterValue
Gets counter value
Public methodGetIdSuitableString (Inherited from ConfigurableAddIn.)
Public methodGetOptions
Return dropdown options
(Overrides DashboardWidgetGetOptions(String).)
Public methodGetParametersToXml (Inherited from ConfigurableAddIn.)
Public methodGetParametersToXml(Boolean) (Inherited from ConfigurableAddIn.)
Protected methodIsValueFollowThresholdCondition
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