提交 e4502544 编写于 作者: K Kweku Adams

Updating README.

Also reenable tooltip functionality and add missing charging status mapping in the timeline.

Change-Id: I06d3718e78598468724fd2a80fb342b0515db7ae
上级 b91fd9b6
......@@ -33,7 +33,7 @@ Next, install Java from <http://www.oracle.com/technetwork/java/javase/downloads
Next, download the Battery Historian code and its dependencies:
```
$ go get -d github.com/google/battery-historian/...
$ go get -d -u github.com/google/battery-historian/...
```
Finally, run Battery Historian!
......@@ -72,11 +72,15 @@ You are all set now. Run `historian` and visit <http://localhost:9999> and uploa
## Screenshots
##### Timeline:
![Timeline](/screenshots/timeline.png "Timeline Visualization")
##### System stats:
![System](/screenshots/system.png "Aggregated System statistics since the device was last fully charged")
![History](/screenshots/history.png "Aggregated statistics during distinct discharge sessions")
##### App stats:
![App](/screenshots/app.png "Application specific statistics")
......
......@@ -249,7 +249,9 @@ historian.color.valueTextMap_[historian.metrics.Csv.BRIGHTNESS] = {
/** @private {!Object<string>} */
historian.color.valueTextMap_[historian.metrics.Csv.CHARGING_STATUS] = {
'c': 'charging',
'd': 'discharging'
'd': 'discharging',
'n': 'not charging',
'f': 'full'
};
......
......@@ -170,6 +170,8 @@ historian.HistorianV2.prototype.zoomHandler_ = function() {
historian.HistorianV2.prototype.handleMouse_ = function() {
this.context_.svg
.on('mousemove', function() {
this.seriesLevel_.showSummary();
this.bars_.showSeriesInfo();
this.levelLine_.renderTimeInfo();
}.bind(this))
.on('mouseout', function() {
......
screenshots/timeline.png

399.1 KB | W: | H:

screenshots/timeline.png

388.6 KB | W: | H:

screenshots/timeline.png
screenshots/timeline.png
screenshots/timeline.png
screenshots/timeline.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册