LegendItem.MarkerSize Property

Definition

Gets or sets the size of the legend item markers, if used.

[System.ComponentModel.Bindable(true)]
public int MarkerSize { get; set; }

Property Value

An integer expression that represents the height and width of the plotting area of markers, in pixels. The default value is 5 pixels.

Attributes

Remarks

To use markers, set the MarkerStyle property to a value other than None.

Note that markers will not be applied to data points of pie, doughnut and any stacked chart types.

Notitie

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

Applies to

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