Regression Line

  • v
  • v
  • v

0102030405060708090100-400-300-200-1000Random Points GeneratorRandom points
Indicator Settings
+
-
v
v
Label Settings
Create Points

This demo illustrates the line of linear regression analysis, which can be enabled for each value level of a series.

In this demo, points are randomly generated after you click "Create Points". Then, based on the linear regression algorithm, a line is drawn across the points, providing a commonly used analytical capability. In addition, you can specify the color, dash style and thickness of the regression line.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\XtraChartsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\XtraChartsDemos