Click here to Skip to main content
15,886,689 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
in my chart, the axis y labels are not visible.

my code.

C#
foreach (DataRow dr in dts.Rows)
                          {
                             series.Points.AddXY(dr["outcome"].ToString(), dr[i]);
                          }
                           series.Name = dts.Columns[i].ToString();
                           series.ChartArea = "area";
                           series.Legend = "leg1";
                           chart_.Series.Add(series);
                           chart_.ChartAreas[0].AxisX.IsLabelAutoFit = true;
                           chart_.ChartAreas[0].AxisX.LabelStyle.Angle = -90;


what is the mistake here.
pls help.
thanks..
Posted
Comments
Silvabolt 6-Sep-13 12:18pm    
What type of object is "chart_"?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900