support phase colors and fixed leading zero bug for data.js

* Add `phase` value to a series item and it can be shown as different colors
* fixed leading-zero bug in `example/data.js`