Windows Forms: How to create a Chart / Graph using RDLC Report in C#

How to create a RDLC Chart/Graph using Microsoft Report Viewer in C#

Step 1Click New Project, then select Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "RDLCChart" and then click OK

chart c#

Step 2: Create an Entity Framework Model First, then add the GetOrdersExport stored procedure to your Model

Step 3: Design your report as below

rdlc report

Step 4: Design your form as below

c# rdlc

Step 5: Add code to handle your form as below

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RDLCChart
    public partial class Form1 : Form
        public Form1()

        private void Form1_Load(object sender, EventArgs e)
            using (NorthwindEntities db = new NorthwindEntities())
                //Get data from stored procedure
                GetOrdersExport_ResultBindingSource.DataSource = db.GetOrdersExport().ToList();