【发布时间】:2012-03-12 06:05:52
【问题描述】:
我在我的 iphone 应用程序中使用核心绘图图。如何在散点图中添加图例。谁能帮帮我?
提前致谢
【问题讨论】:
标签: objective-c ios core-plot
我在我的 iphone 应用程序中使用核心绘图图。如何在散点图中添加图例。谁能帮帮我?
提前致谢
【问题讨论】:
标签: objective-c ios core-plot
graph_.legend = [CPTLegend legendWithGraph:graph_];
graph_.legend.fill = [CPTFill fillWithColor:[CPTColor darkGrayColor]];
graph_.legend.cornerRadius = 5.0;
graph_.legend.swatchSize = CGSizeMake(25.0, 25.0);
graph_.legendAnchor = CPTRectAnchorBottom;
graph_.legendDisplacement = CGPointMake(0.0, 12.0);
【讨论】: