I’ve just updated to the latest version of Shinobi Charts, and I’m having a problem with Legend positioning. I have found that if you position the legend at the bottom middle (_chart.legend.position = SChartLegendPositionBottomMiddle), it does not show up until the user moves the graph. This can be reproduced as follows:
Load the ColumnSeries example
In ViewController.h, in viewDidLoad, delete
_chart.legend.placement = SChartLegendPlacementInsidePlotArea;
Add the following code instead
// show the legend
_chart.legend.hidden = NO;
//_chart.legend.placement = SChartLegendPlacementInsidePlotArea;
_chart.yAxis.enableGesturePanning = YES;
_chart.legend.placement = SChartLegendPlacementOutsidePlotArea;
_chart.legend.position = SChartLegendPositionBottomMiddle;
When you run the program, the legend will initially not be displayed. When you move the graph, it will suddently come into view. All the other legend positions seem to be ok except for the bottom.
Does anyone know if this is a known problem / bug, or is there any way around it?