kaiserfarrell / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

RealTime plot does not automatically refresh in 10.6.8 using reloadData #445

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download the latest either 1.0 or 0.9 zip file of core plot
2. Extract and open /Source/examples/CorePlotGallery project in Xcode 4.2 and 
build it, Note i adjusted target to be 10.6 to run on 10.6.8
3. Run the project and go to real time plot and it does not automatically 
refresh itself and requires window resize

What is the expected output? What do you see instead?
RealTime plot should be updated as it works in 10.7.* or even 10.8.

What version of the product are you using? On what operating system?
Xcode 4.2 to compile example project by adjusting target to 10.6 and running it 
on 10.6

Please provide any additional information below.
I have a project where i dynamically add more data points to data array and 
then adjust the x axis plot space as needed and data points are drawn 
dynamically. I am using [graph reloadData] method, however if i resize the app 
window, draws the total available data points but again does not update the 
graph thereafter. For verification i executed realTime plot graph and it also 
does not work and required window resize.

Original issue reported on code.google.com by argopm on 12 Jul 2012 at 6:47

GoogleCodeExporter commented 8 years ago
In the Real Time Plot example, is the timer still working? Put an NSLog 
statement in the -newData: method and see if it's being called periodically. I 
don't think there's anything in that example that shouldn't work on any OS 
otherwise supported by Core Plot.

In your app, calling -reloadData doesn't work? Does the datasource get called 
and the screen not update, or something else?

Original comment by eskr...@mac.com on 9 Aug 2012 at 12:38

GoogleCodeExporter commented 8 years ago
We need more information to troubleshoot this issue. Closed due to lack of 
followup.

Original comment by eskr...@mac.com on 21 Oct 2012 at 8:54