LegendCell.MapAreaAttributes Property

Definition

Gets or sets the map area attributes of the legend cell.

public:
 virtual property System::String ^ MapAreaAttributes { System::String ^ get(); void set(System::String ^ value); };
public virtual string MapAreaAttributes { get; set; }
member this.MapAreaAttributes : string with get, set
Public Overridable Property MapAreaAttributes As String

Property Value

A string value that represents the attributes of the legend cell's corresponding map area. The default value is a zero-length string.

Implements

Remarks

If you set the MapAreaAttributes property, a client-side image map will automatically be created. A map area will also be created, with its attribute string appended to the <map> tag that corresponds to the relevant legend cell.

The MapAreaAttributes property can be used in conjunction with the Url property to specify map area attributes, for example, target= _blank, as well as client-side event handlers, for example, OnClick="MyEvent()".

Setting this property will have no effect if the IsMapEnabled property is set to false. The default value is true.

If the MapAreaAttributes property is set for both a series and a data point of that series, the data point property has precedence.

Special keywords may be used when setting this property, and each keyword will be replaced with some type of data from the applicable chart element.

Applies to