fix(analysis/optimization): uses ng-if to delay pie charts draw until they become visible
Merge remote-tracking branch 'origin/develop' into develop