V2 UI fails to show the data for the very first point in charts
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Oct 2015 21:21:44 +0000 (21:21 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Oct 2015 21:21:44 +0000 (21:21 +0000)
commitd977eae0634c268279d9ea3c288ec54a91782b8a
tree19ae35c27e1c5e6b6abcc7ad6a6cf362fa2312e9
parent573a3d5556985bb096cfddcdd2c4bec8fc4c8fe4
V2 UI fails to show the data for the very first point in charts
https://bugs.webkit.org/show_bug.cgi?id=149857

Reviewed by Chris Dumez.

The bug was caused by seriesBetweenPoints returning null for when point.seriesIndex is 0.
Explicitly check the type of this property instead.

* public/v2/data.js:
(TimeSeries.prototype.seriesBetweenPoints):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@190646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v2/data.js