Support node v0.10.x and chart color

* Support node v0.10.x
* Support chart color(optional)
* Minor bug fix