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
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The WinForms Chart control is a high-performance charting component that is easy to use and visually stunning. It includes 45 chart types, ranging from simple column charts to specialized financial charts. The charts are highly customizable and have a powerful data model to make data binding simple.


Chart wizard

The Windows Forms Chart control has a powerful wizard that helps to design a chart visually.

WinForms Chart wizard


Real-time charts in winforms

Chart real time data

The Chart control can efficiently handle real-time data as illustrated in the following screenshots. Updates are optimized to be smooth and flicker-free.


Smart labels

Smart labels are just one of the built-in optimization techniques that ensure data point labels do not overlap when rendered next to data points.

Smart data labels in winform charts


WinForms Chart template

Template support

Save time by persisting the appearance of a chart created at design time or runtime as a template. Apply the saved style to a new chart by loading the template.


Unlimited data points

Users can add an unlimited number of data points to a chart series. Chart is optimized to handle such large sets of data.

WinForms Chart with multiple data points


Unlimited number of series in winforms chart

Unlimited data series

Users can add an unlimited number of data series to a chart. The control is optimized to handle such large sets of data.


Zooming and scrolling

Enable the built-in zooming and scrolling features of a chart to provide users with great chart flexibility. Users can simply click and drag any chart area to select and zoom. Once any part of the chart area is zoomed in, scroll bars will automatically appear to let the user view areas beyond the currently displayed chart area. A zoom-out button lets users revert back to the default mode.

WinForms zooming the chart


WinForms panning the chart

Panning support for zoomed chart

WinForms Graph supports panning a chart when it is zoomed. You can navigate to parts of the chart outside of the viewing area by simply clicking and dragging.


Chart localization support

Localize all the visible strings in a chart to any supported language.

WinForms localized text in chart



Data binding to a data set

Chart makes it easy to bind data set instances containing data point values to a chart series. Simply use the built-in ChartDataBindModel class to set up this binding as follows.

WinForms Chart importing data from excel workbook


Default data population

The simplest and most straightforward approach is to populate a chart series with data points as shown.

WinForms opulating the data for a chart


WinForms inding data with the axis labels of a chart

Axis label binding

Bind axis labels to pie, funnel, and pyramid charts. This feature displays data-bound labels in charts.


LINQ support

Bind to LINQ query results. Use LINQ to create varied, concise, and optimal views of your data. Bind to LINQ query results and view your data using many different chart types. Binding a LINQ query result to a chart and the resultant display are illustrated here.

WinForms binding chart with data filtered using LINQ


WinForms Chart importing data from Excel file

Excel importing and exporting

The WinForms Graph control can be used with the Syncfusion Excel Library to import data from Excel documents into a chart. Simpler Excel data can, of course, be loaded using the Microsoft Jet OLEDB data provider.


Chart types

The Windows Forms Chart control includes a comprehensive set of more than 45 chart types for all your business needs. Each one is highly and easily configurable with built-in support for creating stunning visual effects.


3D Mode

The Windows Forms Chart control supports 3D modes for all chart types except polar and radar charts. * The depth of the z-axis is customizable through the depth property. * The real mode option specifies if the chart is displayed in a 3D plane. * Users can also use the rotation or tilt properties to rotate the control programmatically.

WinForms Chart with 3D view

WinForms Chart showing depth of z-axis

WinForms Real 3D mode of chart


WinForms Chart transparency using alpha blending

Alpha blending

Add alpha blending to a chart series to help interpret data that may be hidden behind a series. It can also give a new effect to 2D and 3D charts. Alpha blending is ideal for making one series visible through another, as in the accompanying figure.


Anti-aliasing

Render a chart in different ways using the SmoothingMode property. The default option is anti-alias.

WinForms curves of anti aliased pie chart



Chart area and series shadow effect

Apply shadow effects to the chart area and chart series as illustrated.

WinForms Chart with shadow for chart area and series


WinForms Chart with custom background

Chart background

Easily customize the layout and background of the Chart control.


Chart border

The WinForms Chart supports 13 different built-in border styles. The interior style and the size of the chart border can also be customized.

WinForms borders supported by Chart


WinForms Chart with customized font

Chart font

Customize the font for all text rendered in a chart.


Chart interior

Render professional-looking charts with gradient colors in the chart interior and other chart areas.

WinForms Chart with gradient interior background


WinForms Chart with symbol markers

Chart symbols

Symbols can be associated with each chart series to highlight data points. You can also specify custom images instead of the built-in symbols.



Color palette

The Chart comes with a set of color palettes that are automatically applied to a chart’s data points if no custom colors are specified for the series. These built-in palettes offer a rich set of colors to render professional-looking charts.

WinForms Chart with gradient color palette


WinForms Chart custom color palette without gradient effect

Custom palettes

Define and add custom color palettes.


Localization

Render data points from right to left to adhere to certain local standards. All built-in strings can also be easily localized using localization binaries.

WinForms Chart rendered from right to left


WinForms border for chart series

Series border

Improve the appearance of a chart series by customizing the border color, style, and width of the data points.


Spacing effect

Spacing allows you to customize the space between series columns to give data more clarity. Increased spacing between columns will in turn reduce the width of a column. Support is also provided to control the spacing among series in 3D mode. Series spacing is set as a percentage value of the z-axis depth of a column.

Column chart without any spacing

Column chart with 50 percent spacing

Spacing between different series in chart


WinForms multiple pie series in a chart

Multiple pies

Display multiple pie charts in one chart area for easier presentation and analysis of chart data.


Automatic range scaling

The Chart control has an automatic range-scaling engine that computes the best possible range for a given set of values. * Automatic range calculations are also configurable. * Automatic ranges are also calculated for date values. The range intervals are calculated to be in increments of easily understandable date segments, such as weeks, months, or years.

WinForms Chart readable range with automatic range calculation

WinForms Chart automatic date-time range with an interval of 7 days


WinForms multiple layouts within a chart area

Multiple axes layouts

The WinForms Charts control supports a combination of both stacking and side-by-side chart axes layouts when multiple axes are used. Multiple axes allow for greater control and flexibility when dealing with large amounts of data. The multiple axes layout feature is illustrated in the accompanying image.


Axis label font

You can customize the appearance of axis labels by specifying their size, color, and font.

WinForms Chart customizing the font of axis labels


Axis label orientation

Axis labels can also be rotated to any angle. This is convenient when axis labels are long enough to interfere with other labels. In fact, the Chart control is smart enough to automatically rotate axis labels to avoid overlap.

Rotate axis labels to avoid intersection

Axis labels rotated automatically to avoid intersection


Axis lines

Customize the x-axis and y-axis line appearance to fit your needs. You can configure the style, width, and color of these lines.

WinForms solid and dash line for chart axis


Axis strip lines

Strip lines are bands that can be drawn horizontally or vertically in a chart’s background to highlight certain regions. They can also be repeated to mark weekends, for example.

Vertical strip line in chart

Horizontal strip line in chart

Strip line with fixed width


Axis ticks

Chart axes support major and minor tick marks. The appearance of a tick’s color, height, and width can be customized.

WinForms major and minor ticks in chart


Chart axis labels

Customize the appearance of chart axis labels. You can include custom labels, which can be edited at runtime. Group chart axis labels as desired, and define the grouping label text, color, font, and other related information. Set individual label positions to be to the left or right of the axis, or to the top or bottom.

Axis labels in chart

Custom labels in chart

Grouping the labels in chart

Positioning chart labels inside or outside


Custom axis origin

Specify a custom origin in a chart. The origin can be any specific value in the axis range, or it can also be a specific data point’s value.

WinForms custom origin for chart


WinForms custom range for chart axes

Custom axis range

Specify a custom range for the axes if the default calculated range is not good enough. You can specify the range as well as the intervals of an axis. The accompanying screenshot shows a custom x-axis range with a minimum value of 0, a maximum value of 6, and an interval of 1. The custom y-axis range has a minimum value of -100, a maximum value of 600, and an interval of 100.


Custom polar axis range

A polar chart is a circular graph in which data is displayed in terms of values and angles. The Chart control lets you specify any custom range instead of the default 0–360 degree range values for the axes of a polar chart. You can set the range and intervals for an axis. The accompanying image illustrates a polar chart with a customized axis with a minimum value of 0, a maximum value of 12, and an interval of 1.

WinForms custom range for polar and radar axes


WinForms gridlines in chart

Gridlines

Display horizontal and vertical gridlines in the chart area to help clarify series values. Also customize gridline appearances, as shown in the accompanying figure. All dash styles (dash, dot, dash dot, dash dot dot, solid, custom) are available for gridlines. It is also possible to show and hide gridlines.


Inverted axis

Reverse any chart axis range and plot data for such an axis in the opposite direction, as shown in the following screenshot.

WinForms inverted chart axis


WinForms logarithmic axis in chart

Logarithmic axis

The WinForms Charts control supports logarithmic axes. The data type of any series plotted on the chart can be set to logarithmic. Both axes of a chart can be customized to display logarithmic values. You can also specify custom logarithmic axis ranges. Logarithmic axes are usually used to show data with large ranges.


Opposed axis

The WinForms Chart control supports the opposed position of chart axes. The axis of a chart can be positioned opposite to that of the default axis position. This is useful in creating RTL charts.

WinForms Chart axis on opposite side


Scale breaks

Scale breaks help in accommodating outlying data in a chart while also clearly displaying normal values. Scale breaks can be applied automatically or manually. Chart without scale breaks Code for adding chart breaks manually Chart with manually added axis breaks Code for automatically calculating axis breaks Chart with automatically calculated axis breaks


Secondary axis

The WinForms Chart control supports multiple axes. You can add a secondary axis and position it next to or below the primary axis. Display ellipses at the end of a title when the title text exceeds the axes bounds. This feature can be implemented in both the primary and secondary axes.

Chart with secondary x-axis Chart with secondary x-axis in another layout Chart with secondary y-axis Wrapping axis titles to avoid intersection


WinForms Chart customized polar axis

Custom polar axis

Customize of solid circle lines in polar and radar charts. The Pens property of the primary x-axis and y-axis is used to set the style of the solid circles.


Axis label tooltips

You can add tooltips to the chart axis labels.

WinForms Chart tooltip for axis labels


Multiple chart titles

Add multiple chart titles to a chart, each at their own custom position.

WinForms multiple titles for chart


WinForms alignment of chart title

Chart title alignment

Align the title of a chart near, center, or far, relative to the side it is rendered on.


Chart title position

Position the chart title at any of the four sides of a chart.

WinForms positioning chart title


WinForms Chart with background

Legend background image

The Chart control supports custom background images in a chart’s legend.


Legend border with different styles

Customize the border styles of the legend.


Legend dock and alignment

Dock a chart legend anywhere within the chart area. The legend can also be aligned near, center, or far in the docked side. Set the chart legend to float so that the user can drag the legend around during runtime.

Chart legend docked in different positions Alignment of chart legend Chart legend inside and outside of chart area


Legend item alignment

Align the item text in the chart legend near, center, or far within the item bounds.

WinForms Chart alignment of legend items


Legend representation types

Set the legend representation type. Legend items represented by circle shapes Legend items represented by cross shapes Legend items represented by diamond shapes Legend items represented by hexagon shapes Legend items represented by inverted triangles Legend items represented by line series symbols Legend items represented by pentagon shapes Legend items represented by rectangles Legend items represented by lines Legend items represented by triangles Legend items represented by an external background


Legend shadow effect

Render legend text with a shadow effect.

WinForms Chart legend rendered with shadow effect


WinForms title for chart legend

Legend title font and color

A chart’s legend can have a custom title with a custom font style, size, and color.


Legend visibility checkboxes

The checkbox feature in the legend lets your users show or hide a series during runtime.

WinForms check box to toggle the visibility of chart series


WinForms multiple legends for chart

Multiple chart legends

Display multiple chart legends with custom legend items that can be associated with any chart series.


Title font size and color

Customize a chart title with custom fonts, colors, and sizes.

WinForms Chart title with custom font and color


Auto highlight

Automatically highlight chart data points on mouse-over. Customize the highlight color for such elements.

WinForms Chart with automatically highlighted point in mouse move


WinForms table docked above chart

Chart host control

Host any Windows Forms control within the Chart control using the docking manager available for the chart. By using the docking manager, any Windows Forms control can be docked to any region inside the Chart control.


Context menu

Implement built-in context menus in the Chart control.

WinForms context menu of chart


WinForms draggable data points in chart

Drag-and-drop series points

Using the mouse events fired by a chart, you can track the drag-and-drop of a chart point to a new location.


Interactive cursor

Position cursors at a specific data point in a series and point out the x- and y-values via a horizontal and vertical line passing through the data point and intersecting the x-axis and y-axis. Drag interactive cursor lines to position them at specific data points. Chart with interactive cursors Highlighting a data point with interactive cursor


Toolbar

A built-in toolbar is available for the Chart control. Chart with toolbar Chart with custom toolbar items Chart with custom toolbar items


Tooltip

Display tooltips when hovering the mouse pointer over a chart area, data points, and other regions. Customization options are also available for tooltip text.

WinForms Chart series tooltip


Fancy tooltips

The Chart control also includes a “fancy tooltip” feature. This tooltip looks like a balloon and includes information regarding the series name and x- and y-points.

WinForms Chart fancy tooltip


Trackball

Use a trackball to view the closest data point to a mouse or touch contact point. A line with markers and tooltips will appear at the location of the data point. Information about the data point can be displayed using the trackball tooltip.

WinForms Chart trackball


Crosshair

Use a crosshair to view the axis coordinates at the mouse location or touch contact point. Display information about the coordinate in a tooltip near the axis.

WinForms Chart crosshair


WinForms Chart series highlighting

Series highlight

Highlight a specific series of the chart over which the mouse hovers. The series can also be highlighted by hovering the pointer over the legend of the series.


Export as an image

The Chart control provides APIs to export a chart as an image file with support for all popular image formats: .bmp, .jpg, .gif, .tiff, .wmf, .emf, .svg, and .eps.

WinForms exported chart


WinForms Chart exported to a Word document

Export to Word Library

Using Word Library, dynamically create a Word document that contains an image of the chart.


Export to grid

Add an image of a chart to a grid cell dynamically.

WinForms Chart exported to a cell in grid control


WinForms Chart exported to excel worksheet

Export to Excel

Using Syncfusion’s Excel Library, export chart data points to an Excel worksheet and create an Excel chart to render that data.


Export to PDF

Using Syncfusion’s PDF Library, you can dynamically create a PDF document containing a snapshot of the chart.

WinForms Chart exported to PDF document


WinForms Chart exported to SVG vector format

Export to SVG

Export and save a chart as a scalable vector graphics (SVG) file. SVG defines graphics in XML format, which is very useful in viewing a zoomed-in or zoomed-out chart without losing the quality due to the zoom level.


Print a chart in color, grayscale, or automatic mode.

Print preview of chart


XML serialization

Save the series and point properties into XML format and load them into a new Chart control.


WinForms Chart Code Example

Easily get started with the WinForms Chart using a few simple lines of C# code example as demonstrated below. Also explore our WinForms Chart Example that shows you how to render and configure the Charts in WinForms.

using Syncfusion.Windows.Forms.Chart;
namespace WinFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
            ChartControl chartControl1 = new ChartControl();
            chartControl1.PrimaryXAxis.DrawGrid = false;
            BindingList<SalesData> dataSource = new BindingList<SalesData>();
            dataSource.Add(new SalesData("2004", 30));
            dataSource.Add(new SalesData("2005", 40));
            dataSource.Add(new SalesData("2006", 50));
            dataSource.Add(new SalesData("2007", 65));
            dataSource.Add(new SalesData("2008", 75));         
            CategoryAxisDataBindModel dataSeriesModel = new CategoryAxisDataBindModel(dataSource);
            dataSeriesModel.CategoryName = "Year";
            dataSeriesModel.YNames = new string[] { "Sales" };
            ChartSeries chartSeries = new ChartSeries("Sales");
            chartSeries.CategoryModel = dataSeriesModel;
            chartSeries.Style.DisplayText = true;
            chartSeries.Style.TextOrientation = ChartTextOrientation.Up;
            chartControl1.Legend.Visible = true;
            chartControl1.LegendAlignment = ChartAlignment.Center;
            chartControl1.Legend.Position = ChartDock.Top;
            chartControl1.LegendsPlacement = ChartPlacement.Outside;
            chartControl1.Series.Add(chartSeries);
            chartControl1.ShowToolTips = true;
            this.Controls.Add(chartControl1);
        }
    }
}
public class SalesData
        {
            public string Year { get; set; }
            public double Sales { get; set; }

            public SalesData(string year, double sales)
            {
                this.Year = year;
                this.Sales = sales;
            }
        }



95+ WINDOWS FORMS CONTROLS

Frequently Asked Questions

The Syncfusion WinForms Charts provides the following features:

  • A comprehensive set of more than 45 chart types that are easily configurable with built-in support.
  • 3D mode for all chart types except polar and radar charts.
  • Customize the chart control using ChartWizard at design time and run time.
  • One of the best WinForms Chart in the market that offers feature-rich UI to interact with the software.
  • Handle real-time data efficiently and update the chart in a smooth and flicker-free manner.
  • Touch-friendly for interacting with charts.
  • Simple configuration and API.
  • Built-in support for exporting the chart control into various formats.
  • Save or load a Chart control to an XML file.
  • Extensive demos and documentation to learn quickly and get started with WinForms Charts.

You can find our WinForms Chart demo on

GitHub location.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Syncfusion Windows Forms Resources

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon