LegendItem.MarkerStyle Property

Definition

Gets or sets a legend item marker style. Also used to enable or disable the display of markers.

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

Property Value

A MarkerStyle integer enumeration. The default value is None.

Attributes

Remarks

To disable markers, set this property to None.

Note

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

Applies to

Product Versions
.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