@@ -161,11 +161,11 @@ Utilities.extendObject(window.benchmarkController, {
161
161
const axisHeight = size . height - margins . top - margins . bottom ;
162
162
163
163
// The y axis is frameLength in ms, inverted with the axis labels showing fps.
164
- const minFrameRate = this . _targetFrameRate / 4 ;
165
- const maxFrameRate = this . _targetFrameRate * 1.5 ;
164
+ const minFrameRate = this . _targetFrameRate / 4 ;
165
+ const maxFrameRate = this . _targetFrameRate * 1.5 ;
166
166
167
- const yMin = msPerSecond / minFrameRate ;
168
- const yMax = msPerSecond / maxFrameRate ;
167
+ const yMin = msPerSecond / minFrameRate ;
168
+ const yMax = msPerSecond / maxFrameRate ;
169
169
170
170
var xScale = d3 . scale . linear ( )
171
171
. range ( [ 0 , axisWidth ] )
@@ -236,7 +236,7 @@ Utilities.extendObject(window.benchmarkController, {
236
236
. data ( data [ Strings . json . complexity ] )
237
237
. enter ( ) ;
238
238
239
- group . append ( "line" )
239
+ group . append ( "line" )
240
240
. attr ( "x1" , function ( d ) { return xScale ( d . complexity ) - 3 ; } )
241
241
. attr ( "x2" , function ( d ) { return xScale ( d . complexity ) + 3 ; } )
242
242
. attr ( "y1" , function ( d ) { return yScale ( d . frameLength ) - 3 ; } )
@@ -336,8 +336,8 @@ Utilities.extendObject(window.benchmarkController, {
336
336
337
337
const minFrameRate = this . _targetFrameRate / 2 ;
338
338
const maxFrameRate = this . _targetFrameRate * 1.5 ;
339
- const yRightMin = msPerSecond / minFrameRate ;
340
- const yRightMax = msPerSecond / maxFrameRate ;
339
+ const yRightMin = msPerSecond / minFrameRate ;
340
+ const yRightMax = msPerSecond / maxFrameRate ;
341
341
342
342
var yRight = d3 . scale . linear ( )
343
343
. range ( [ axisHeight , graphTop ] )
0 commit comments