Skip to main content

CandleStick2DModel Class

Represents a base class for standard and custom Candle Stick models.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

public abstract class CandleStick2DModel :
    PointModel

#Returned By

The CandleStickSeries2D.Model property returns an instance of CandleStick2DModel.

#Remarks

The CandleStick2DModel class implements the basic functionality for both the pre-defined and custom Candle Stick models.

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

  • To apply a pre-defined Candle Stick model in your chart, use the corresponding descendant of the PredefinedCandleStick2DModel class.
  • To provide a custom Candle Stick model, create an instance of the CustomCandleStick2DModel class, and customize it's properties.

For more information, see Series and Marker Models.

See Also