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


In This Topic
    PredefinedChartStyle Property
    In This Topic
    Controls the predefined chart style.
    Syntax
    'Declaration
     
    <CategoryAttribute("General")>
    <DescriptionAttribute("Controls the predefined chart style")>
    <DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    Public Property PredefinedChartStyle As PredefinedChartStyle
    'Usage
     
    Dim instance As Chart
    Dim value As PredefinedChartStyle
     
    instance.PredefinedChartStyle = value
     
    value = instance.PredefinedChartStyle
    [Category("General")]
    [Description("Controls the predefined chart style")]
    [DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    public PredefinedChartStyle PredefinedChartStyle {get; set;}
    Remarks
    By default the chart style is set to Vertical.
    Example
    The following example changes the predefined chart style to horizontal left.
    Chart.PredefinedChartStyle = PredefinedChartStyle.HorizontalLeft
    Chart.PredefinedChartStyle = PredefinedChartStyle.HorizontalLeft;
    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