Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(97)

Issue 258910043: Adds the ability for the line chart to handle sparse data series. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by charliea
Modified:
10 years, 10 months ago
CC:
tracing-review_chromium.org
Base URL:
https://github.com/google/trace-viewer.git@master
Visibility:
Public.

Description

Adds the ability for the line chart to handle sparse data series. This is necessary for the chart where we'll graph power consumption by ms after vsync because not every frame has power measurements at the same times after the vsync occurred. BUG=#1108 R=nduca@google.com Committed: https://chromium.googlesource.com/external/trace-viewer/+/8a22d0218a1831cba0642baab14753709c69416e

Patch Set 1 #

Patch Set 2 : Fixes bug where series list is only calculated off of the first datum #

Total comments: 21

Patch Set 3 : Changes based on code review #

Patch Set 4 : Made some test changes and used !== undefined instead of hasOwnProp #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -25 lines) Patch
M tracing/tracing/ui/base/line_chart.html View 1 2 3 5 chunks +67 lines, -18 lines 1 comment Download
M tracing/tracing/ui/base/line_chart_test.html View 1 2 3 4 chunks +43 lines, -7 lines 0 comments Download

Messages

Total messages: 18
charliea
10 years, 10 months ago (2015-07-21 16:11:01 UTC) #1
nduca(google)
can you provide a screenshot what is graphed for your test case? its confusing to ...
10 years, 10 months ago (2015-07-21 17:06:04 UTC) #2
charliea
On 2015/07/21 17:06:04, nduca(google) wrote: > can you provide a screenshot what is graphed for ...
10 years, 10 months ago (2015-07-21 18:43:15 UTC) #3
charliea
Also probably worth noting: I think that, in the long run, it makes sense to ...
10 years, 10 months ago (2015-07-21 18:48:13 UTC) #4
nduca(google)
Agreed in the long haul about c3js. Its tough though: 140kb is not doable while ...
10 years, 10 months ago (2015-07-21 19:28:38 UTC) #5
charliea
On 2015/07/21 19:28:38, nduca(google) wrote: > Agreed in the long haul about c3js. Its tough ...
10 years, 10 months ago (2015-07-21 19:41:42 UTC) #6
nduca(google)
https://codereview.appspot.com/258910043/diff/20001/tracing/tracing/ui/base/line_chart.html File tracing/tracing/ui/base/line_chart.html (right): https://codereview.appspot.com/258910043/diff/20001/tracing/tracing/ui/base/line_chart.html#newcode193 tracing/tracing/ui/base/line_chart.html:193: * Returns a map of series key to the ...
10 years, 10 months ago (2015-07-21 23:34:45 UTC) #7
dsinclair
My question would be, is going to 0 the right thing to do with this ...
10 years, 10 months ago (2015-07-22 00:16:49 UTC) #8
charliea
https://codereview.appspot.com/258910043/diff/20001/tracing/tracing/ui/base/line_chart.html File tracing/tracing/ui/base/line_chart.html (right): https://codereview.appspot.com/258910043/diff/20001/tracing/tracing/ui/base/line_chart.html#newcode121 tracing/tracing/ui/base/line_chart.html:121: var keys = d3.keys(keySet); On 2015/07/22 00:16:49, dsinclair wrote: ...
10 years, 10 months ago (2015-07-22 12:59:53 UTC) #9
dsinclair
On 2015/07/22 00:16:49, dsinclair wrote: > My question would be, is going to 0 the ...
10 years, 10 months ago (2015-07-22 13:52:38 UTC) #10
nduca(google)
> On 2015/07/21 23:34:45, nduca(google) wrote: > > woulda been clearer if you did value1: ...
10 years, 10 months ago (2015-07-22 16:46:15 UTC) #11
charliea
On 2015/07/22 13:52:38, dsinclair wrote: > On 2015/07/22 00:16:49, dsinclair wrote: > > My question ...
10 years, 10 months ago (2015-07-22 17:14:10 UTC) #12
charliea
On 2015/07/22 16:46:15, nduca(google) wrote: > (1) Because you have used hasOwnProperty, you cannot pass ...
10 years, 10 months ago (2015-07-22 17:28:23 UTC) #13
charliea
> > Good point. I changed the code so that we're checking for undefined. > ...
10 years, 10 months ago (2015-07-22 17:29:38 UTC) #14
charliea
/poke If you guys could take a look at this soon, I'd really appreciate it! ...
10 years, 10 months ago (2015-07-23 14:43:11 UTC) #15
dsinclair
lg to me.
10 years, 10 months ago (2015-07-23 15:32:21 UTC) #16
nduca(google)
lgtm ... ive not given this a careful review but it looks solid https://codereview.appspot.com/258910043/diff/80001/tracing/tracing/ui/base/line_chart.html File ...
10 years, 10 months ago (2015-07-23 16:25:15 UTC) #17
charliea
10 years, 10 months ago (2015-07-23 16:55:29 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
8a22d0218a1831cba0642baab14753709c69416e (presubmit successful).
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b