swift - How to insert a symbol at previous index for CorePlot real-time plotting? -


as title, want insert symbol @ previous index real-time plotting image below.

i have computation in order location of peak value symbol index(e.g. index = 1) , real-time scatter index (e.g. idx = 5) not same.

how add symbol in previous index?

please me, thanks!!

enter image description here

use plot's -insertdataatindex:numberofrecords: method add data. starting index can between 0 (to add data before of existing data) , number of existing data points (to add data @ end). if add new points before existing ones, existing ones shifted on make room. keep in mind if reload plot data after inserting new points—the indices of old points change.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -