Skip to end of metadata
Go to start of metadata

Description

A ChartRegion object represents either a chart area or plot area. The following classes extend ChartRegion : AxisLabel, ChartText, Legend, DataPoint, and SeriesDataLabel.

C#
vb.net

Properties

Name

Description

BorderLine

Returns the border around the chart region.

Font

Sets or returns the font for text in the chart region.
(ChartRegions obtained from Chart.PlotArea don't support fonts.)

HasShadow

Sets or returns whether the chart region will have a shadow.

Height

Sets or returns the height of the chart region, in units of 1/4000 of the chart area.

Interior

Returns a ChartInterior object containing formatting properties for the region.

TextDisplayTopToBottom

Sets or returns whether the text in the ChartRegion is displayed top to bottom and the letters are upright.
(ChartRegions obtained from Chart.Legend, Chart.ChartArea, and Chart.PlotArea don't support TextDisplayTopToBottom.)

TextHorizontalAlignment

Sets or returns the horizontal alignment of text in the chart region.
(ChartRegions obtained from Chart.Legend, Chart.ChartArea, and Chart.PlotArea don't support HorizontalAlignment or VerticalAlignment.)

TextRotationAngle

Sets or returns the rotation angle of text in a chart region, in degrees. This angle must be between -90 and 90 degrees, inclusive.

(ChartRegions obtained from Chart.Legend, Chart.ChartArea, and Chart.PlotArea don't support TextRotationAngle.)

TextVerticalAlignment

Sets or returns the vertical alignment of text in the chart region.
(ChartRegions obtained from Chart.Legend, Chart.ChartArea, and Chart.PlotArea don't support HorizontalAlignment or VerticalAlignment.)

Width

Sets or returns the width of the chart region, in units of 1/4000 of the chart area.

X

Sets or returns the x coordinate of the upper left corner of the chart region, in units of 1/4000 of the chart area.

Y

Sets or returns the y coordinate of the upper left corner of the chart region, in units of 1/4000 of the chart area.

Nested Classes

Name

Description

HorizontalAlignment

A ChartRegion.HorizontalAlignment value determines the horizontal alignment of text in the specified chart area or plot area.

(ChartRegions obtained from Chart.Legend, Chart.ChartArea, and Chart.PlotArea don't support HorizontalAlignment or VerticalAlignment.)

VerticalAlignment

A ChartRegion.VerticalAlignment value determines the vertical alignment of text in the specified chart area or plot area.
(ChartRegions obtained from Chart.Legend, Chart.ChartArea, and Chart.PlotArea don't support HorizontalAlignment or VerticalAlignment.)
  • No labels