Jump to content
Software FX Community

legends for Bar Chart


User (Legacy)

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...