Chart.BackImage Chart.BackImage Chart.BackImage Chart.BackImage Property

Definition

Gets or sets the background image of the Chart control.

public:
 property System::String ^ BackImage { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
public string BackImage { get; set; }
member this.BackImage : string with get, set
Public Property BackImage As String

Property Value

A string value that represents the URL of an image file. The default value is an empty string.

Remarks

This property defines a path to a background image for a Chart legend, and can be an absolute or relative URL.

To position the image, use the BackImageAlignment and BackImageWrapMode properties.

You can also specify one of the colors displayed by the image as "transparent", by setting the BackImageTransparentColor property.

An image can originate from any valid graphics file supported by .NET Framework, including icons.

Background images take precedence over other background properties such as gradient color.

Applies to