Nevron .NET Vision
Nevron.Chart Namespace / NStockSeries Class / CandleStyle Property
Example


In This Topic
    CandleStyle Property
    In This Topic
    Controls the shape of the candle.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.CategoryAttribute("Options")>
    <System.ComponentModel.DescriptionAttribute("Controls the shape of the candle")>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property CandleStyle As CandleStyle
    'Usage
     
    
    Dim instance As NStockSeries
    Dim value As CandleStyle
     
    instance.CandleStyle = value
     
    value = instance.CandleStyle
    [System.ComponentModel.Category("Options")]
    [System.ComponentModel.Description("Controls the shape of the candle")]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public CandleStyle CandleStyle {get; set;}
    Remarks
    By default set to Bar.
    Example
    Change the style of a stock series to Stick.
    stock.CandleStyle = CandleStyle.Stick
    stock.CandleStyle = CandleStyle.Stick;
    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