Xceed Chart for WinForms v4.4 Documentation
Xceed.Chart.Core.v4.4 Assembly / Xceed.Chart.Core Namespace / LegendData Class / MarkSize Property
Example


In This Topic
    MarkSize Property
    In This Topic
    The size of the legend items mark.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("The size of the legend items mark.")>
    <DefaultValueAttribute(7)>
    Public Property MarkSize As Integer
    'Usage
     
    Dim instance As LegendData
    Dim value As Integer
     
    instance.MarkSize = value
     
    value = instance.MarkSize
    [Category("General")]
    [Description("The size of the legend items mark.")]
    [DefaultValue(7)]
    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