FlexChart | ComponentOne
FlexChart / Understanding FlexChart / FlexChart Types / WPF Column Chart
In This Topic
    WPF Column Chart
    In This Topic

    The Column Chart, just like the Bar Chart, represents variation in a data series over time or compares different items. It displays values of one or more items as vertical bars against Y-axis and arranges items or categories on X-axis.

    You need to set the ChartType property to Column in the Property window, in the code behind, or in XAML to create the Column Chart.

    Set the Stacking property to Stacked or Stacked100pc to create the stacking WPF Column Chart.

    WPF Column Chart

    WPF Column Chart

    The code below demonstrates the implementation:

    <c1:C1FlexChart x:Name="flexChart" 
                    ItemsSource="{Binding DataContext.Data}" 
            <c1:Series SeriesName="Sales" 
            <c1:Series SeriesName="Expenses" 
    Copy Code
    flexChart.ChartType = C1.Chart.ChartType.Column;