开发者

Core Plot label not showing

开发者 https://www.devze.com 2022-12-12 19:32 出处:网络
I downloaded library coreplot and I tried the example in this tutorial: http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application.

I downloaded library coreplot and I tried the example in this tutorial: http://www.switchonthecode.com/tutorials/using-core-plot-in-an-iphone-application.

I have two problem:

1) When I compiled example i don't have error and warning but la开发者_如何学运维bel of example not showing.

2) inside the tutorial the command axisSet.xAxis.axisLabelOffset = 3.0f; give me a error " error: 'axisSet' undeclared (first use in this function)".

What is the problem? is very important for me a speed reply thank you all :) best regard


That tutorial is very useful for adding Core Plot to an iPhone app, but the example plots are out of date. If you look into the comments, there is some updated the code, but that may even be out of date.

I would recommend looking at the example apps included with the Core Plot framework. Also, I have been able to find some answers by digging through the documentation (after building it).

EDIT:

Refer to this:

0

精彩评论

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