ComponentOne 3D Chart for WinForms
3D Chart Fundamentals / Basic 3D Chart Types / 3D Bar Charts
In This Topic
    3D Bar Charts
    In This Topic

    The 3D Bar chart displays each data point as a single bar drawn from the Z-value to the origin. Spacing between the adjacent bars can be added when using either grid or irregular grid data layout. Like the 2D Bar chart it is useful for comparing individual items or groups of items.

    Chart3DTypeEnum.Bar

    To set the 3D chart type to Bar at design time:

    1. Expand the ChartGroups node in the Properties window, then expand Group0.
    2. Locate the ChartType property and select Bar.

    To programmatically set the 3D chart type to Bar:

    To write code in Visual Basic

    Visual Basic
    Copy Code
    C1Chart3D1.ChartGroups(0).ChartType = Chart3DTypeEnum.Bar
    

    To write code in C#

    C#
    Copy Code
    C1Chart3D1.ChartGroups[0].ChartType = Chart3DTypeEnum.Bar;
    
    See Also