Skip to main content
All docs
V24.2

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

DxChartPaneBorder Class

Defines pane border settings.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public class DxChartPaneBorder :
    DxSettingsComponent<ChartPaneBorderModel>

#Remarks

The DxChartPaneBorder component allows you to configure borders for DxChartPane.

To display borders in the DxChartPane component, enable the Visible property. You can then change the visibility of Left, Top, Right, and Bottom borders individually.

To customize pane border appearance, specify the following properties:

The following example shows pane borders and changes their appearance:

razor
<DxChart Data="@SalesData" Height="500px">
    <DxChartTitle Text="Sales amount" />
    <DxChartLegend Position="RelativePosition.Outside" VerticalAlignment="VerticalEdge.Bottom" />
    <DxChartPane Name="Pane1" Height="60%" > 
        <DxChartPaneBorder Visible="true"
                           Color="#D4D4D4"
                           DashStyle="ChartDashStyle.Dash" />
    </DxChartPane>
    <DxChartBarSeries Name="2017"
                      Filter="@((SaleInfo s) => s.Date.Year == 2017)"
                      SummaryMethod="Enumerable.Sum"
                      Pane="Pane1"
                      ArgumentField="@(s => s.City)"
                      ValueField="@(s => s.Amount)" />
</DxChart>

DxChartPane - Border visibility

#Inheritance

Object
ComponentBase
DxSettingsComponent<DevExpress.Blazor.Internal.ChartPaneBorderModel>
DxChartPaneBorder
See Also