Hi
On below code i am getting above error - The type or namespace "SeriesChartType" could not be found"
Chart1.DataSource = objResult; Chart1.Series[0].ChartType = (SeriesChartType)int.Parse(rblChartType.SelectedItem.Value);
Thanks
Import the namespace.
For Windows Application
using System.Windows.Forms.DataVisualization.Charting;
For Web Application
using System.Web.UI.DataVisualization.Charting;
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.