开发者

How can I add horizontal lines to a BarPlot

I want to know how could I add Horizontal lines to each bar of a barPlot with different values. I want to let the customer know what is the expected value with an horizo开发者_StackOverflowntal line and what is his real value with a bar.

Any idea ? Thanks


You can use a second bar plot. Set barBasesVary = YES on the second plot. It will ask the datasource for an additional field called CPTBarPlotFieldBarBase. Return a base value and tip value that will make a short bar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜