how to fix scatter graph size fixed in core plot

Deadly 提交于 2019-12-25 01:46:39

问题


I'm using core plot scatter graph,but i'm not able to maintain size of the. For some values the graph works fine ,but for some values the size of the graph changes.

Can i fix it using xRange ,if yes, how?

please refer these images
1.


2

Why this is happening ?


回答1:


plotSpace.xRange = [CPTPlotRange plotRangeWithLocation:CPTDecimalFromFloat(0) length:CPTDecimalFromFloat([[mXaxisArray valueForKeyPath:@"@max.floatValue"]floatValue])];

Added xRange to fix this issue



来源:https://stackoverflow.com/questions/23846916/how-to-fix-scatter-graph-size-fixed-in-core-plot

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