You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an elegant way to unload a LineChartView object to save memory?
Say I have 3 chart views I want to toggle between (chart1, chart2, chart3).
Chart1 is displayed by default. So now I want to see chart2, I would hide chart1 (chart1.isHidden = true) and load chart2. Then I want to see chart3 so I hide chart2, however chart1 and chart2 are still in memory, so how can I offload them?
Thanks!
The text was updated successfully, but these errors were encountered:
General question:
Is there an elegant way to unload a LineChartView object to save memory?
Say I have 3 chart views I want to toggle between (chart1, chart2, chart3).
Chart1 is displayed by default. So now I want to see chart2, I would hide chart1 (chart1.isHidden = true) and load chart2. Then I want to see chart3 so I hide chart2, however chart1 and chart2 are still in memory, so how can I offload them?
Thanks!
The text was updated successfully, but these errors were encountered: