Xceed Chart for WinForms v4.4 Documentation
MarkSize Property
Example 


Xceed.Chart.Core.v4.4 Assembly > Xceed.Chart.Core Namespace > LegendData Class : MarkSize Property
The size of the legend items mark.
Syntax
'Declaration
 
<DefaultValueAttribute()>
<DescriptionAttribute("The size of the legend items mark.")>
<CategoryAttribute("General")>
Public Property MarkSize As Integer
'Usage
 
Dim instance As LegendData
Dim value As Integer
 
instance.MarkSize = value
 
value = instance.MarkSize
[DefaultValue()]
[Description("The size of the legend items mark.")]
[Category("General")]
public int MarkSize {get; set;}
Remarks
This property defines the size in pixels. The default value is 6.
Example
The following example changes the mark size of the legend:
Dim legend As Legend = CType(NChartControl.Legends(0), Legend)
legend.Data.MarkSize = 4
Legend legend  = (Legend)NChartControl.Legends[0];
legend.Data.MarkSize = 4;
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

LegendData Class
LegendData Members