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

PieSeriesView.Border Property

Gets the pie series view’s border settings.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
public CustomBorder Border { get; }

Property Value

Type Description
CustomBorder

A CustomBorder object which specifies the border style.

Remarks

Use the Border property to specify the border’s color, thickness and visibility.

The following example configures pie series border settings:

Pie series view border

Series series1 = new Series("Income", ViewType.Pie);
series1.DataSource = GetDataPoints();
series1.ArgumentDataMember = "State";
series1.ValueDataMembers.AddRange("Sales");
PieSeriesView view = (PieSeriesView)series1.View;

view.Border.Color = System.Drawing.Color.Black;
view.Border.Thickness = 2;
See Also