How to set arrows at the end of Core Plot axis?

流过昼夜 提交于 2019-12-20 03:44:28

问题


I found Core Plot as very nice plotting library. But there is small issue: I can not find any way to set directional arrows at the end of axis for plots. Am I missing something here maybe?


回答1:


This isn't supported by Core Plot yet. You can add an enhancement request at the Core Plot issue tracker. No guarantees on when something like this will be implemented, but an open issue will keep it on the radar.

In the meantime, you could fake it using a plot space annotation to position your own arrow at the proper spot. The annotation content could be CPTLayer with a background image of the arrow or a custom (i.e., built by you) CPTLayer that draws the arrow.

Eric



来源:https://stackoverflow.com/questions/6749035/how-to-set-arrows-at-the-end-of-core-plot-axis

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!