[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Expand]Charting Basics
   [Expand]Series Views
   [Collapse]Chart Elements
     Breadcrumbs
    [Collapse]Series
     [Collapse]Indicators
      [Expand]Simple Indicators
       Fibonacci Indicators
       Moving Average and Envelope
       Oscillator Indicators
       Trend Indicators
       Price Indicators
       Error Bars
      Series Points
      Series Point Labels
      Total Labels
      Series Titles
    [Expand]Diagram
     Chart Titles
    [Expand]Legends
    [Expand]Annotations
   [Expand]Providing Data
   [Expand]Data Representation
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Additional Resources
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Indicators

Indicators are special metrics that are commonly used to analyze and process series data visually. This topic lists the indicators the Chart control provides, and explains how to add an indicator to a series.

Note

Note that you can only plot indicators with XY-Diagram series.

This document consists of the following sections.

Expanded Available Indicators

Expanded Add an Indicator to a Series

At Design Time

Select a series in the Properties window. Expand the SeriesBase.View property and click the XYDiagram2DSeriesViewBase.Indicators property's ellipsis button. Click the Add... button in the invoked Indicator Collection Editor.

In the Indicator Type dialog, select an indicator and click OK.

In Code

The following code adds the Rate of Change indicator to a series view.

The following table lists the API members used by code above.

Member Description
XYDiagram2DSeriesViewBase.Indicators The series view's collection of indicators.
IndicatorCollection.Add Adds an indicator to the end of a collection.
Indicator.ShowInLegend Specifies whether to display the indicator in the legend.
Indicator.LegendText Gets or sets the text that identifies the indicator in the legend.
Indicator.Legend Specifies the legend that displays the indicator. The default legend is used if this property is not specified.

Expanded Plot Indicator in a Separate Pane

The SeparatePaneIndicator descendants can be plotted on a separate pane with a secondary axis. Below is the list of these indicators.

The following image shows the Rate of Change indicator in a separate pane.

The following code assigns a pane and secondary y-axis to an indicator.

The code above uses the following API members.

Member Description
SeparatePaneIndicator.Pane Gets or sets the pane that contain the indicator.
SeparatePaneIndicator.AxisY Gets or sets the y-axis the indicator uses.

Expanded Display Indicator Point Values using the Crosshair Cursor

You can use the Crosshair Cursor to display indicator point values in the Crosshair's label or in a legend:

Label Legend

The following code enables the Crosshair for an indicator.

The code uses the following API members.

Member Description
Indicator.CrosshairEnabled Specifies whether the Crosshair Cursor is shown when the mouse cursor hovers over the indicator.
Indicator.CrosshairLabelPattern Gets or sets the string that formats the text that the Crosshair Cursor shows for the indicator's point.
Indicator.CrosshairContentShowMode Gets or sets the element that displays the indicator's Crosshair content.
CrosshairContentShowMode Lists elements the Crosshair Cursor can use to show content.

Expanded Customize Indicator Appearance

You can change an indicator's color and specify an indicator line style.

Use the following code to configure indicator appearance as in the image above.

The following table lists the API members used by code above.

Member Description
Indicator.LineStyle Specifies the indicator's line style settings.
LineStyle.DashStyle Gets or sets the dash style used to paint the line.
LineStyle.Thickness Gets or sets the line's thickness.
Indicator.Color Specifies the indicator's color.
ChartControl.IndicatorsPaletteName Specifies the palette that is used to paint all Indicators that exist in a chart control.

Expanded See Also

Is this topic helpful?​​​​​​​