Skip to main content
A newer version of this page is available. .
All docs
V20.2

ChartItemFormatRule.ApplyToChartElement Property

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

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v20.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.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