Popover for analysis tasks shows up at the left edge of annotation bars in the v3 UI
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2015 22:19:52 +0000 (22:19 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Dec 2015 22:19:52 +0000 (22:19 +0000)
commit95b45e81bb500531bb8756bdf971f9f714119e66
treee3be61baf0222daeb01ca8721ec997c0562bc7e8
parentcb29976f3ee595a4c0bc731b4343984b77543846
Popover for analysis tasks shows up at the left edge of annotation bars in the v3 UI
https://bugs.webkit.org/show_bug.cgi?id=152389

Reviewed by Darin Adler.

Compute the x coordinate of the popover from the center of each annotation bar.

Also adjust the x coordinate to keep the popover within the charts.

* public/v3/components/interactive-time-series-chart.js:
(InteractiveTimeSeriesChart.prototype._renderChartContent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@194234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/components/interactive-time-series-chart.js