# chart-fast-hilo-open-close-chart

> FastHiLoOpenCloseBitmapSeries with OHLC data on DateTimeAxis and NumericalAxis with tooltips.

**Framework:** wpf  **Component:** Chart  **Variant:** fast-hilo-open-close-chart

## Get this item

**If you are an agent, fetch the JSON.** Source is inlined, so one request is enough and no tooling is required:

```
GET https://ai.syncfusion.com/r/wpf/chart-fast-hilo-open-close-chart.json
```

**Install Package(s)**

```bash
dotnet add package Syncfusion.SfChart.WPF
```

**Notes**

- Syncfusion release: 2026 Volume 3 (v35.1.37)
- The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md

## Source files

### src/components/chart-fast-hilo-open-close-chart/Chart.xaml

```xaml
<UserControl
    x:Class="ChartTemplate.FastHiloOpenCloseChart.Chart"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:chart="clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.WPF"
    xmlns:local="clr-namespace:ChartTemplate">

    <UserControl.DataContext>
        <local:FinancialViewModel />
    </UserControl.DataContext>

    <Grid x:Name="grid">
        <Grid.Resources>
            <DataTemplate x:Key="xAxishHeaderTemplate">
                <TextBlock Text="Year" Padding="0,3,0,3" FontSize="14.5"/>
            </DataTemplate>

            <DataTemplate x:Key="yAxishHeaderTemplate">
                <TextBlock Text="Price in USD" Padding="0,3,0,3" FontSize="14"/>
            </DataTemplate>

            <Style TargetType="Line" x:Key="lineStyle">
                <Setter Property="StrokeThickness" Value="0"/>
            </Style>
        </Grid.Resources>

        <chart:SfChart x:Name="FastHiloOpenClose" HorizontalAlignment="Center" Margin="5">

            <chart:SfChart.Header>
                <TextBlock TextAlignment="Center" Text="Cosmetics Industry Stock Market Trends" FontSize="17" Margin="0,10,0,10"/>
            </chart:SfChart.Header>

            <chart:SfChart.PrimaryAxis>
                <chart:DateTimeAxis x:Name="axis1" MajorTickLineStyle="{StaticResource lineStyle}"
                                    EdgeLabelsDrawingMode="Shift" EdgeLabelsVisibilityMode="AlwaysVisible"
                                    HeaderTemplate="{StaticResource xAxishHeaderTemplate}" PlotOffset="5"
                                    ShowGridLines="False"
                                    LabelFormat="yyyy" ShowTrackBallInfo="True">
                    <chart:DateTimeAxis.LabelStyle>
                        <chart:LabelStyle FontSize="13"/>
                    </chart:DateTimeAxis.LabelStyle>

                </chart:DateTimeAxis>
            </chart:SfChart.PrimaryAxis>

            <chart:SfChart.SecondaryAxis>
                <chart:NumericalAxis HeaderTemplate="{StaticResource yAxishHeaderTemplate}"
                                     Minimum="54"
                                     Maximum="72"
                                     Interval="2" ShowTrackBallInfo="True">
                    <chart:NumericalAxis.LabelStyle>
                        <chart:LabelStyle FontSize="13"/>
                    </chart:NumericalAxis.LabelStyle>

                    <chart:NumericalAxis.StripLines>
                        <chart:ChartStripLine Start="64" Width="2" Background="#BCBCBC"/>
                    </chart:NumericalAxis.StripLines>
                </chart:NumericalAxis>
            </chart:SfChart.SecondaryAxis>

            <chart:FastHiLoOpenCloseBitmapSeries ItemsSource="{Binding FinancialData}"
                                                 XBindingPath="Date"
                                                 High="Y"
                                                 Open="X"
                                                 Close="Y2"
                                                 Low="Y1"
                                                 ShowTooltip="True"
                                                 EnableAnimation="True">
                
                <chart:FastHiLoOpenCloseBitmapSeries.Trendlines>
                    <chart:Trendline Label="Trend"/>
                </chart:FastHiLoOpenCloseBitmapSeries.Trendlines>
            </chart:FastHiLoOpenCloseBitmapSeries>

            <chart:SfChart.Behaviors>
                <chart:ChartCrossHairBehavior/>
            </chart:SfChart.Behaviors>

        </chart:SfChart>
    </Grid>
</UserControl>
```
