show draw graph by js