Open sebastiansharun opened 7 years ago
Wherever you found instructions to use setCustom
like that (presumably the wiki), it's out of date. setCustom
is now used with an array or List of LegendEntry
objects, which contain details on how to format each entry.
The wiki should probably be updated, and there should have at least been a deprecated method in there that takes the original parameters and wraps the new implementation, but you should be able to change it on your end with no problems. Just read through the JavaDoc on LegendEntry
and setCustom
for details.
I am using MPchart piechart. When i set custom legend arrays it not accepting that array.
My code...
Error...
My MPchart version :
v3.0.0