Hi Joe,
There are several methods I can think of, one of them is to directly draw the legend with your own code. It is like (in Java):
int yPos = 60;
for (int i = 0; i < labels.length; ++i) {
c.getDrawArea().circle(340, yPos + 10, 6, 6, 0x000000, Chart.DataColor + i);
yPos += c.addText(350, yPos, labels[i], "arialbd.ttf", 12).getHeight();
}
The above code use a loop to draw a circle and some text in a line, then move to next line.
Hope this can help.
Regards
Peter Kwan |