File tree 1 file changed +4
-1
lines changed
src/at/gmi/nordborglab/widgets/gwasgeneviewer/client
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -280,14 +280,17 @@ public void onUnderlay(UnderlayEvent event) {
280
280
}
281
281
282
282
protected Options setOptions (Dygraphs .Options options ){
283
+ double maxValue = max_value ;
284
+ if (maxValue < bonferroniThreshold )
285
+ maxValue = bonferroniThreshold ;
283
286
options .setStrokeWidth (0.000000001 );
284
287
options .setDrawPoints (true );
285
288
options .setPointSize (pointSize );
286
289
options .setIncludeZero (true );
287
290
options .setWidth (width );
288
291
options .setHeight (scatterChartHeight );
289
292
options .setAxisLabelFontSize (12 );
290
- options .setValueRange (0 ,(int )max_value + 2 );
293
+ options .setValueRange (0 ,(int )maxValue + 2 );
291
294
options .setxAxisLabelWidth (100 );
292
295
options .setyAxisLabelWidth (20 );
293
296
options .setColors (new String [] {color });
You can’t perform that action at this time.
0 commit comments