2014-10-20 61 views
0

我有兩個圖表,它們具有X和Y值的可變範圍。 使用scaleToFitPlots:(NSArray *)plots方法獲得以下圖表縮放比例。Coreplot Graph Scaling問題

enter image description here

但我的本意是讓縮放樣子以下,我無法找到CorePlot框架的任何合適的方法來完成它。一些指針會很感激。

enter image description here

回答

2

如果你已經知道你想要顯示的範圍,跳過調用-scaleToFitPlots:和直接設置xRangeyRange

+0

謝謝Eric! – 2014-10-22 08:36:46