I want to load the CPBarPlot with Last 10 index values when the reload data is called, is any function there to a开发者_高级运维chieve like this....
Thanks in advance
It's up to you to determine the data to be plotted. Just return 10 in -numberOfRecordsForPlot: and figure out the amount to offset the index in -numberForPlot:field:recordIndex:. For instance, if your data set has 50 points and Core Plot asks for the data at index 5, return the point at index 50 - 10 + 5 = 45.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论