LegendItem.MarkerSize Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the size of the legend item markers, if used.
public:
property int MarkerSize { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int MarkerSize { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.MarkerSize : int with get, set
Public Property MarkerSize As Integer
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.
Note
This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.