Nevron .NET Vision
Nevron.Chart Namespace / NChart Class / Width Property
Example


In This Topic
    Width Property (NChart)
    In This Topic
    Controls the width of the chart in model units.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Dimensions")>
    <System.ComponentModel.DescriptionAttribute("Controls the width of the chart in model units")>
    <System.ComponentModel.DefaultValueAttribute(70)>
    <System.Xml.Serialization.XmlAttributeAttribute()>
    Public Property Width As System.Single
    'Usage
     
    
    Dim instance As NChart
    Dim value As System.Single
     
    instance.Width = value
     
    value = instance.Width
    [System.ComponentModel.Category("Dimensions")]
    [System.ComponentModel.Description("Controls the width of the chart in model units")]
    [System.ComponentModel.DefaultValue(70)]
    [System.Xml.Serialization.XmlAttribute()]
    public System.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