Skip to main content
All docs
V24.1

ChartItemFormatRule.ApplyToChartElement Property

Gets or sets the chart element to which a format rule applies.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

[DefaultValue(FormatRuleChartElement.Point)]
public FormatRuleChartElement ApplyToChartElement { get; set; }

Property Value

Type Default Description
FormatRuleChartElement Point

A FormatRuleChartElement object that specifies the chart element to which a format rule applies.

Remarks

You can specify the chart element to which a format rule applies:

  • Point: The rule applies to data-points such as bars, points, and bubbles.
  • LineOrArea: The rule applies to lines and areas.

Refer to the following topic for more information on how to apply a format rule to a chart element: Conditional Formatting

See Also