Chart.ForeColor Property

.NET Framework 4.6 and 4.5

Gets or sets the text color of the Chart control.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(false)]
[BrowsableAttribute(false)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
[TypeConverterAttribute(typeof(ColorConverter))]
public override Color ForeColor { get; set; }

Property Value

Type: System.Drawing.Color
A Color value that represents the text color of the chart.

This property is not applicable to this class.

.NET Framework

Supported in: 4.6, 4.5, 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft