@@ -181,28 +181,35 @@ function renderPlot(data) {
181181 }
182182 var plotoptions = {
183183 title : { text : data . benchmark , fontSize : '1.1em' } ,
184+ grid : { borderColor : '#9DADC6' , shadow : false , drawBorder : true } ,
184185 series : series ,
186+ axesDefaults : {
187+ tickOptions : {
188+ fontFamily : 'Arial'
189+ }
190+ } ,
185191 axes :{
186192 yaxis :{
187193 label : data . units + data . lessisbetter ,
188194 labelRenderer : $ . jqplot . CanvasAxisLabelRenderer ,
189- min : 0 , autoscale :true ,
190- tickOptions :{ formatString :'%.' + digits + 'f' }
195+ min : 0 ,
196+ autoscale : true ,
197+ tickOptions : { formatString :'%.' + digits + 'f' }
191198 } ,
192199 xaxis :{
193200 renderer : ( shouldPlotEquidistant ( ) ) ? $ . jqplot . CategoryAxisRenderer : $ . jqplot . DateAxisRenderer ,
194201 label : 'Commit date' ,
195202 labelRenderer : $ . jqplot . CanvasAxisLabelRenderer ,
196- tickOptions :{ formatString :'%b %d' } ,
203+ tickOptions : { formatString :'%b %d' } ,
197204 pad : 1.01 ,
198- autoscale :true ,
199- rendererOptions :{ sortMergedLabels :true } /* only relevant when
200- $.jqplot.CategoryAxisRenderer is used */
205+ autoscale : true ,
206+ rendererOptions : { sortMergedLabels :true } /* only relevant when
207+ $.jqplot.CategoryAxisRenderer is used */
201208 }
202209 } ,
203210 legend : { show : true , location : 'nw' } ,
204211 highlighter : getHighlighterConfig ( median ) ,
205- cursor :{ show :true , zoom :true , showTooltip :false , clickReset :true }
212+ cursor : { show :true , zoom :true , showTooltip :false , clickReset :true }
206213 } ;
207214 if ( series . length > 4 + hiddenSeries ) {
208215 // Move legend outside plot area to unclutter
@@ -246,7 +253,12 @@ function renderMiniplot(plotid, data) {
246253
247254 var plotoptions = {
248255 title : { text : data . benchmark , fontSize : '1.1em' } ,
249- seriesDefaults : { lineWidth : 2 , markerOptions :{ style :'circle' , size : 6 } } ,
256+ grid : { borderColor : '#9DADC6' , shadow : false , drawBorder : true } ,
257+ seriesDefaults : {
258+ shadow : false ,
259+ lineWidth : 2 ,
260+ markerOptions : { style :'circle' , size : 6 }
261+ } ,
250262 series : series ,
251263 axes : {
252264 yaxis : {
0 commit comments