v3 UI should use four sig-figs to label y-axis of the main charts
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jan 2016 20:27:44 +0000 (20:27 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jan 2016 20:27:44 +0000 (20:27 +0000)
commit4523c4b4c7e8b243babb61109aa503da1b5df56b
tree96f64c881d80e7c5212eb83b5da6c0d083d66beb
parent91d0f074b8f8dc53402270356b5a7a74b1644958
v3 UI should use four sig-figs to label y-axis of the main charts
https://bugs.webkit.org/show_bug.cgi?id=152779

Reviewed by Antti Koivisto.

Increase the number of significant figures used in the main charts to four as done in v2 UI.

* public/v3/pages/chart-pane.js:
(ChartPane.constructor): Create a formatter with four significant figures.
* public/v3/pages/page-with-charts.js:
(PageWithCharts.mainChartOptions): Increase the width of y-axis labels.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@194652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/v3/pages/chart-pane.js
Websites/perf.webkit.org/public/v3/pages/page-with-charts.js