Returns the border around the chart region.

public ChartLine BorderLine{ get; }
Public ReadOnly Property BorderLine() As ChartLine

By default, the borderline of Chart.ChartArea for new charts are visible. All other border lines for all other components of a chart are not visible by default.

If a default borderline is visible, which is the case for Chart area borderline, the default configuration for the line is:

  • Color: Color.SystemColor.AutomaticLine
  • Style: ChartLine.LineStyle.Solid
  • Weight: ChartLine.LineWeight.Narrow

If a default borderline is invisible, as is the case with legends, data labels, titles, and axes, the defaults are as follows:

  • Color: Color.SystemColor.Black
  • Style: ChartLine.LineStyle.None
  • Weight: ChartLine.LineWeight.Narrow