Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns the font for text in the chart region.

...


(ChartRegions obtained from Chart.PlotArea don't support fonts.)

Signature
C#
C#

 public Font Font{ get; set; }
Signature
vb.net
vb.net

Public Property Font() As Font
Remarks

If the ChartRegion object represents the chart area, the font returned will be the font for the entire chart. Setting a property on this font will cause all other fonts in the chart to have the same font as the chart area.

If the ChartRegion represents a legend, the font returned will be the font for all items in the legend. Setting a property on this font will also set this property for all other fonts inside the legend.

If the ChartRegion represents a series label, the font returned will be the font for all data labels in the series. Setting a property on this font will also set this property for all data point labels of this series.

There is no font for the plot area.