Subcaption feature for graphs