Refined diagnosis statistics diagram functionality.