update pie chart when it becomes visible
updated TODOs
reuse computed splines