Reputation: 2865
I have search this question but didnt find any answer that help me. i have tried [graph reloadData] but didnt help me. I m using this link to make Scatter plot graph for my project
But i m making just 1 scatter graph not 3. i have 3 options in settings 1)today 2)month 3)year in today it shows todays graph just 1 plot in month it shows 30 plot and 365 in year. but in my case it works ony first time but when i go back and change option from today to year it.
Upvotes: 3
Views: 189
Reputation: 2865
Sorry everyone. it wasnt about refreshing graph. i had an array of dates and it was static. so it changes once when the date was selected like today or month. and then when i select option again that static array had the previous values not new.
Upvotes: 1