开发者

How to set label name under the bars of Bar Chart using core plot in objective-c?

开发者 https://www.devze.com 2023-03-28 05:08 出处:网络
I am unable to set the label name exact below the bar of bar chart. How to change its origin value to move right side so that it will be exact below of the bar. Please find the image here in this link

I am unable to set the label name exact below the bar of bar chart. How to change its origin value to move right side so that it will be exact below of the bar. Please find the image here in this link: i.imgur.com/kJEeM.png

I am search for sol开发者_JS百科ution, yet I did not get any solution please help me out of this....


You should use axis labels on the x-axis. There are several example apps included with Core Plot that show how to format dates on the axes. If you already have the text of the labels, you can use custom labels instead. There are examples of that technique, too. The linked image doesn't show an axis line--just set the axis and tick line styles to nil to suppress drawing the axis line.

0

精彩评论

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