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

Vishal JoshiRank #377 · 6.7K reputationPosted Nov 21, 2022, 2:37 AM EST
Hello,
Try to add references as mentioned below in your code header file.
using System.Windows.Forms.DataVisualization.Charting;Ramco RamcoRank #462 · 5.4K reputationPosted Nov 21, 2022, 2:46 AM EST
Hi
It is giving error - The type or namespace name Forms does not exists in the namespace System.windows
Thanks