kevinzhow / PNChart

A simple and beautiful chart lib used in Piner and CoinsMan for iOS
MIT License
9.71k stars 1.76k forks source link

Fix bug show legned which textDescription was nil #426

Closed Husseinhj closed 6 years ago

Husseinhj commented 6 years ago

In my project, i use this chart and want's show filter showing some legend. I use :

PNPieChartDataItem *item = [PNPieChartDataItem dataItemWithValue:obj.transactionCount color:obj.tagColor];

to show just in PIChart not see some item in legend.