I’d like to configure a bar chart (SChartColumnSeries) to have two values for each series, a high and a low. I tried returning a SChartMultiYDataPoint in sChart:dataPointAtIndex:forSeriesAtIndex: but the lower value was just ignored. So I’m thinking I could use a SChartCandlestickSeries and only return a high and a low for the SChartMultiYDataPoint. This works pretty well except whereas SChartColumnSeries dynamically controls the width of the bar, SChartCandlestickSeries doesn’t so I have to set the stickWidth manually in order to make it look right (“right” meaning more like a bar chart than a candlestick chart).
- Is there an easier way to do what I’m doing?
- Is there some way I can make the stickWidth adjust automatically like SChartColumnSeries?
- If not, what’s the right place for me to change it while (for e.g.) the user is zooming in and out and how can this be calculated? Seems like I’d need the # of visible series in the chart frame but I don’t see a way to get this.