LegendItem.ImageStyle Property

Definition

Gets or sets the display style of the legend item image.

[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.LegendImageStyle ImageStyle { get; set; }

Property Value

A LegendImageStyle enumeration value.

Attributes

Remarks

These styles determine how the item's corresponding symbol will be displayed.

A Line style can be combined with a Marker style. To accomplish this, first set the ImageStyle property to Line. Then use the MarkerImage property to specify a marker image, or the MarkerStyle property to specify a marker style. The resulting symbol will be a combination of a line and an image or marker.

Napomena

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to

Proizvod Verzije
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1