Graphs drawing triggered when selectedProjectId is not empty