如何在核心图中绘制Y轴网格? [英] How to draw Y-axis grid in core-plot?

查看:56
本文介绍了如何在核心图中绘制Y轴网格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何绘制X轴网格,即针对y =轴值绘制水平线?
请帮帮我吗?

How to draw X-axis grid, ie draw horizontal line against y=axis value? please help me out?

sri

推荐答案

您需要在轴上设置 majorGridLineStyle 和/或 minorGridLineStyle 属性。有关示例代码,请参见examples文件夹中的CPTestApp。

You need to set the majorGridLineStyle and/or minorGridLineStyle properties on your axes. See CPTestApp in the examples folder for some sample code.

这篇关于如何在核心图中绘制Y轴网格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆