We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


The WPF Histogram Chart plots the distribution of numerical data. Typically, this is by plotting count of objects that fall within certain data ranges. The most common data representation is bars, as a bar can represent the count with its height, and the data range with its position and width.

WPF Histogram Chart documentation

WPF Histogram Chart

Key features

WPF Histogram Chart with Markers

Display markers

Marks the available data points within the WPF Histogram Chart segment with the built-in symbols such as cross, square, plus, inverted triangles, hexagon, ellipses, vertical lines, horizontal lines, diamonds, triangles, and pentagons.

WPF Histogram Chart with Data Labels

Data labels

Data labels display information about the data points. It provides the support for customizing the foreground, border, and background in addition to template support to customize the default appearance with the desired view. You can rotate a data label by its given angle.

WPF Histogram Chart with Customized Color and Border

UI styling

Customize the color and border of the WPF Histogram Chart using built-in APIs to make it visually unique.

WPF Histogram Chart Showing Bell Curve

Distribution/Bell curve

A graphical representation of the normal distribution of data in the WPF Histogram Chart.

Code example

Easily get started with WPF Histogram Chart using a few simple lines of XAML and C# code, as demonstrated below,

<Window x:Class="ChartExample.MainWindow"
        Title="WPF Histogram Chart" Height="450" Width="700">
    <!--Setting DataContext-->
        <chart:SfChart Height="300" Width="500">
            <!--Initialize the horizontal axis for the WPF Chart-->
                <chart:NumericalAxis />
            <!--Initialize the vertical axis for the WPF Chart-->
                <chart:NumericalAxis />

            <!--Adding HiLo Series to the WPF Chart-->
                ItemsSource="{Binding Product}"
public class HistogramChartModel
        public double Price { get; set; }

        public double Value { get; set; }


public class ViewModel
    public ObservableCollection<HistogramChartModel> Product { get; set; }

    public ViewModel()
         this.Product = new ObservableCollection<HistogramChartModel>();

            Product.Add(new HistogramChartModel() { Price = 1});
            Product.Add(new HistogramChartModel() { Price = 11 });
            Product.Add(new HistogramChartModel() { Price = 12});
            Product.Add(new HistogramChartModel() { Price = 21 });
            Product.Add(new HistogramChartModel() { Price = 22});
            Product.Add(new HistogramChartModel() { Price = 23});
            Product.Add(new HistogramChartModel() { Price = 27 });
            Product.Add(new HistogramChartModel() { Price = 33 });
            Product.Add(new HistogramChartModel() { Price = 35 });
            Product.Add(new HistogramChartModel() { Price = 43 });

Learning resources

Navigate to GitHub code used to configure the WPF Histogram Chart

GitHub Code

Explore the WPF Histogram Chart example from GitHub to learn how to render and configure charts.

Navigate to the options available in the user guide to customize the WPF Histogram Chart

WPF Histogram Chart User Guide

Learn more about the available options to customize WPF Histogram Charts.

Navigate to the API references documentation of the WPF Histogram Chart

WPF Histogram Chart API Reference

Explore the WPF Histogram Chart APIs.


Scroll up icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon