PieSeriesView.Border Property
Gets the pie series view’s border settings.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
[PersistenceMode(PersistenceMode.InnerProperty)]
[XtraChartsLocalizableCategory(XtraChartsCategory.Appearance)]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
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:
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