I am using ShinobiCharts to create this kind of bar graph:
But I have come up to few issues. It is impossible to set up different colors for bars, therefore I must use series to color bars differently. So my issues are:
When I use series, the names do not match bar centers.
Bars are always resized and repositioned according to datapoint count (I would like them to be static and if i got one datapoint it would stay in position #1 and having 6 more datapoints would not alter position of datapoint #1).
Bar width (thickness) is always automatically set and if i set it with:
[yAxis setDefaultRange:[[SChartNumberRange alloc] initWithMinimum:@1 andMaximum:@2]];
Chart gets oversized and only one bar is visible (values do not alter the thickness at all). y axis is SChartCategoryAxis and x axis is SCHartNumberAxis.
No other modifications are made, i just set two values and color. initialisation is also bare minimum from sample.
This is how it looks now:
NOTE: No panning or zooming allowed.
And I know its multi-question here but I would like to end this struggle of mine.