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


In This Topic
    Width Property (Chart)
    In This Topic
    Controls the width of the chart in model units.
    Syntax
    'Declaration
     
    <CategoryAttribute("Dimensions")>
    <DescriptionAttribute("Controls the width of the chart in model units")>
    <DefaultValueAttribute(70)>
    Public Property Width As Single
    'Usage
     
    Dim instance As Chart
    Dim value As Single
     
    instance.Width = value
     
    value = instance.Width
    [Category("Dimensions")]
    [Description("Controls the width of the chart in model units")]
    [DefaultValue(70)]
    public float Width {get; set;}
    Remarks
    By default set to 70.
    Example
    Increase the width of the chart:
    Chart.Width = 72.0
    Chart.Width = 72.0;
    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