Hi All,
I have a requirement where I want to show the legends of a Pie chart Selectively. i.e, if my Pie chart has 10 sections, I want to show only the first 5 legends. Is that Possible. If yes, please guide me.
Thanks in advance,
Regards,
Piyush
Selectively displaying the legends in Pie charts
Subclass the plot and override this method
to only return the items you need
Code: Select all
public LegendItemCollection getLegendItems()