开发者

How do I create shadow of CPBarPlot?

开发者 https://www.devze.com 2023-03-09 04:29 出处:网络
I want to create shadow of barplot what should I do . I use core-plot 开发者_开发百科framworkI dont know abt giving exactly shadow effect on individual bar. But similar to shadow effect, You can try u

I want to create shadow of barplot what should I do . I use core-plot 开发者_开发百科framwork


I dont know abt giving exactly shadow effect on individual bar. But similar to shadow effect, You can try using 'tubular' bar rather than flat bars. +(CPBarPlot *)tubularBarPlotWithColor:(CPColor *)color horizontalBars:(BOOL)horizontal

something like this

barPlot = [CPBarPlot tubularBarPlotWithColor:[CPColor greenColor] horizontalBars:NO]; [barGraph addPlot:barPlot toPlotSpace:barPlotSpace];

Hope this helps.

0

精彩评论

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