ibrahimsaputra / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Show only some legend-titles instead of all #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice enhancement to add an option to the API if the legend text of 
a series should be printed on the legend bar.

Right now there is one global option to print the legend titles for all series 
or to print nothing.

A quick and dirty solution was discussed here:
https://groups.google.com/forum/#!topic/achartengine/wQbsibM6qpQ

So you can modify org.achartengine.chart.AbstractChart.drawLegend() and check 
if the title of a series is emtpy and when yes just continue the for-loop 
without drawing (see mentioned forum post)

Original issue reported on code.google.com by michael....@gmail.com on 26 Aug 2011 at 11:32

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 8 Jan 2013 at 1:42