更改asp图表图例标签宽度

更改asp图表图例标签宽度

ASPX

                

代码背后

 Chart1.Titles.Add(new Title("Completed/Pending Count Anaysis",Docking.Top,new Font("Verdana", 12f, FontStyle.Bold),Color.Black)); Chart1.Series[0].XValueMember = "COLUMN_NAME"; Chart1.Series[0].YValueMembers = "H_COUNT"; Chart1.Series[0].ChartType = SeriesChartType.Pie; Chart1.Series[0].IsValueShownAsLabel = false; Chart1.Series[0].Label = "#PERCENT"; Chart1.Series[0].LabelFormat = "{0:0%}"; Chart1.Series[0].LegendText = "#VALX #PERCENT{P2}"; Chart1.Series["Series1"]["PieLabelStyle"] = "outside"; Chart1.Series[0]["PieStartAngle"] = "45"; Chart1.Series[0].LabelForeColor = Color.Black; Chart1.Legends["Legend1"].Docking = Docking.Bottom; Chart1.Legends["Legend1"].IsDockedInsideChartArea = false; Chart1.ChartAreas["ChartArea1"].Area3DStyle.Enable3D = true; Chart1.ChartAreas["ChartArea1"].Area3DStyle.Inclination = 30; Chart1.DataSource = ds; 

任何人都知道如何解决这个问题?