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)]
[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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應