Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Stock2DModel Class

Represents a base class for standard and custom Stock models.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public abstract class Stock2DModel :
    PointModel

The following members return Stock2DModel objects:

#Remarks

The Stock2DModel class implements the basic functionality for both the pre-defined and custom 2D Stock models.

Since the Stock2DModel class is abstract, you can’t create an instance of it directly. Instead, assign one of its descendants to the StockSeries2D.Model property.

  • To apply a pre-defined 2D Stock model in your chart, use the corresponding descendant of the PredefinedStock2DModel class.
  • To provide a custom 2D Stock model, create an instance of the CustomStock2DModel class, and customize its properties.
See Also