Skip to main content
A newer version of this page is available. .

Bar2DModel Class

Represents a base class for standard and custom 2D Bar models.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v19.1.dll

Declaration

public abstract class Bar2DModel :
    PointModel

The following members return Bar2DModel objects:

Remarks

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

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

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