iPad 应用程序中的核心情节
在核心图中我看到了绘图符号,如何用颜色填充绘图符号?可以举例说明吗? 还可以在指定的(x,y)位置制作一个绘图符号吗? 我从哪里得到核心情节的完整教程?
In core plot I saw plot symbol,how can I fill plot symbol with color? Can please explain with an example?
And also can make one plot symbol in a specified (x,y) position?
From where I got the complete tutorial for core plot?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绘图符号是散点图的可选部分。 Core Plot 附带的示例应用程序中有很多示例,包括绘图库中的演示,其中显示了所有预定义的绘图符号形状。
通过设置
plotSymbol
属性,您可以让散点图在每个数据点显示相同的符号。如果您希望在不同的点使用不同的符号,请实现以下数据源方法之一:每个绘图符号都有一个
fill
和lineStyle
来确定内部填充和边框线样式。这些是整个 Core Plot 中使用的标准CPTFill
和CPTLineStyle
对象。Plot symbols are an optional part of the scatter plot. There are lots of examples throughout the example apps included with Core Plot, including a demo in the Plot Gallery that shows all of the predefined plot symbol shapes.
You can have the scatter plot show the same symbol at every data point by setting the
plotSymbol
property. If you want different symbols at different points, implement one of the following datasource methods:Each plot symbol has a
fill
andlineStyle
that determine the inside fill and the border line style. These are standardCPTFill
andCPTLineStyle
objects used throughout Core Plot.