Creating a custom drawLegend


#1

I’ve been attempting to create a custom legend for the chart. I’ve a subclass of SChartLegend and am initing this with initWithChart, calling a setup method with various instructions which do alter the legend fine.

The problem is with the drawLegend method, if i overide it, nothing displays. I’m not sure what I need to set here to get it to display. I’ve set the position, text, color of labels and symbols but nothing shows up. Any advice appreciated.