Update of internal routine to show different charts