Skip to main content
All docs
V24.1

ChartItemFormatRule Members

A format rule that is used to apply conditional formatting to the Chart dashboard item.

Constructors

Name Description
ChartItemFormatRule() Initializes a new instance of the ChartItemFormatRule class.
ChartItemFormatRule(DataItem, ChartSeries) Initializes a new instance of the ChartItemFormatRule class with specified settings.

Properties

Name Description
ApplyToChartElement Gets or sets the chart element to which a format rule applies.
ApplyToSeries Gets or sets a chart series to which a format rule is applied.
Condition Gets or sets a condition used to apply formatting to a dashboard item. Inherited from DashboardItemFormatRule.
DataItem Gets or sets the data item whose values are used to calculate a format rule. Inherited from ChartItemFormatRuleBase.
DisplayName Gets or sets the caption of a format rule that is displayed in a chart’s legend. Inherited from ChartItemFormatRuleBase.
Enabled Gets or sets whether the current format rule is enabled. Inherited from DashboardItemFormatRule.
IsValid Gets whether the current format rule is correct.
Name Gets or sets the name of the current format rule. Inherited from DashboardItemFormatRule.
ShowInLegend Gets or sets whether to display a format rule in a chart’s legend. Inherited from ChartItemFormatRuleBase.

Methods

Name Description
Assign(DashboardItemFormatRule) Copies settings of the specified object to the current object. Inherited from DashboardItemFormatRule.
BeginUpdate() Locks the DashboardItemFormatRule object by preventing updates until the DashboardItemFormatRule.EndUpdate method is called. Inherited from DashboardItemFormatRule.
EndUpdate() Unlocks the DashboardItemFormatRule object after a call to the DashboardItemFormatRule.BeginUpdate method and causes an immediate update. Inherited from DashboardItemFormatRule.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the string that represents the current object. Inherited from DashboardItemFormatRule.
See Also