ComponentOne FlexChart for WPF
Candle
FlexChart > Understanding FlexChart > FlexChart Types > Financial > Candle

The Candle Chart integrates Bar and Line charts to depict a range of values over time. It consists of visual elements known as candles that are further comprised of three elements: body, wick, and tail.

Candle Chart

  

 

The following code shows the implementation:

<c1:C1FlexChart x:Name="flexChart" 
                BindingX="Time" 
                ItemsSource="{Binding DataContext.Data}" 
                ChartType="Candlestick">
    <c1:C1FlexChart.Series>
        <c1:Series SeriesName="Price" 
                   Binding="High,Low,Open,Close"/>
    </c1:C1FlexChart.Series>
</c1:C1FlexChart>
C#
Copy Code
flexChart.ChartType = C1.Chart.ChartType.Candlestick;