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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change chart type from Line to Bar

Thread ID:





55619 Feb 1,2007 05:16 PM UTC Feb 2,2007 10:47 AM UTC WinForms 1
Tags: Chart
Ganghua Fan
Asked On February 1, 2007 05:16 PM UTC

How to change chart type from Line to Bar without recreate the chart.

Administrator [Syncfusion]
Replied On February 2, 2007 10:47 AM UTC


Thank You for your interest in Syncfusion Products.

You can change the Line Chart in to a Bar Chart without recreating the chart by changing the ChartSeriesType of the Series added to the ChartControl under any button_Click event as shown in the code snippet below,

private void buttonBarSeries_Click(object sender, System.EventArgs e)
//changes the SeriesType to Bar.

Also kindly take a look at the attached sample to get the above points in clear.

Let me know if you have any queries.

Thanks & Regards,



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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