I am using CorePlot iOS library to create a bar chart for my application.Though I want alternate colors in the spaces between the bars. Have been stuck on this for a while .Can you guide me if this is possible and how ?
答案 0 :(得分:0)
在轴上使用alternatingBandFills
。这是CPTFill
,CPTColor
,CPTGradient
,CPTImage
或[NSNull null]
对象的数组。在图后面的轴上的每个主要刻度位置之间绘制填充。