Other attributes of the legend cell.
Visual Basic (Declaration) | |
---|---|
Public Overridable Property MapAreaAttributes As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual string MapAreaAttributes {get; set;} |
Return Value
A string value that represents the attributes of the legend cell's corresponding map area. Defaults to a zero-length string.Setting this property will automatically result in a client-side image map being created, and a map area will be created with the attribute string appended to the <MAP> tag (corresponds to the legend cell).
MapAreaAttributes can be used in conjunction with the Href property to specify map area attributes (e.g. Target= _Blank) as well as client-side event handlers (e.g. OnClick="MyEvent()").
Setting this property will have no effect if the Chart object's MapEnabled property is set to false (true by default).
If the MapAreaAttributes property is set for both a series and a data point of that series then 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. Refer to the Using Keywords topic for more information.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family