User (Legacy) Posted October 11, 2004 Report Share Posted October 11, 2004 I am trying to get all legends for the bar chart but it somehow shows me only the first legend of the series whereas it shows all legends in a pie chart. I am using the following code for setting legends: public void setLegends(ChartFXClass chart) { string[] temp = Chart.Report.Legends; for(int i=0; i<temp.Length; i++) { chart.set_Legend(i,temp[i]); } } Below is the snapshot of what i am getting with this code Thanks. Link to comment Share on other sites More sharing options...
Software FX Posted October 11, 2004 Report Share Posted October 11, 2004 You want to set the Series legend, not the values legend: chart.set_SerLeg(i,temp[i]); -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.