編輯

共用方式為


LegendItem.MarkerSize Property

Definition

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)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public int MarkerSize { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
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.

Applies to