FlexChart | ComponentOne
FlexChart / Working with FlexChart / FlexChart Elements / FlexChart Series / Emphasizing Different Types of Data
In This Topic
    Emphasizing Different Types of Data
    In This Topic

    In a chart, there is often a common but crucial requirement to emphasize different types of data. Emphasizing or distinguishing different types of data is vital because chart data that is distinguishable is easier to interpret and understand.

    FlexChart caters to this requirement by allowing you to combine two or more chart types in a single chart. For instance, you can combine the LineSymbols Chart with the Column Chart to make the chart data easier to interpret. You can use the ChartType property to specify the chart type at the series level for each series, thereby creating charts with multiple chart types.

    The following code combines two chart types in a single chart.

    <c1:C1FlexChart.Series>
        <c1:Series ChartType="Line" 
                   x:Name="Function1" 
                   SeriesName="Function1" 
                   BindingX ="XVals" 
                   Binding="YVals"/>
        <c1:Series ChartType="LineSymbols" 
                   x:Name="Function2" 
                   SeriesName="Function2" 
                   BindingX ="XVals" 
                   Binding="YVals"/>
    </c1:C1FlexChart.Series>