ComponentOne FlexChart for UWP
FlexChart / Understanding FlexChart / FlexChart Types / Mixed
In This Topic
    Mixed
    In This Topic

    FlexChart allows you to create mixed charts that offer two key advantages, as follows:

    The following image displays a mixed chart that combines column and line symbols chart types. The chart plots and compares sales and expenses data of four countries.

    The following code sets the Column chart type for FlexChart and overrides it by setting the LineSymbols chart type for the Sales series, thereby implementing mixed charts.

    <Chart:C1FlexChart x:Name="flexChart" 
                       BindingX="Country" 
                       ChartType="Column" 
                       ItemsSource="{Binding DataContext.Data}">
        <Chart:Series SeriesName="Sales" 
                      Binding="Sales" 
                      ChartType="LineSymbols"/>
        <Chart:Series SeriesName="Expenses" 
                      Binding="Expenses"/>
    </Chart:C1FlexChart>
    
    See Also