Draw line chart in javascript.

Signed-off-by: CyberZHG <CyberZHG@gmail.com>