var legend = new Legend(); legend.LegendStyle = LegendStyle.Row; legend.Docking = Docking.Bottom; legend.IsDockedInsideChartArea = false; chart1.Legends.Add(legend); chart1.Series[0].LegendText = Real Sheet; chart1.Series[1].LegendText = Refrence Sheet;
legend.Font = new Font(legend.Font.FontFamily, 12); // choose a size
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)