File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/at/gmi/nordborglab/widgets/gwasgeneviewer/client Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ public void onUnderlay(UnderlayEvent event) {
286
286
287
287
if (bonferroniThreshold != -1 ) {
288
288
double posY = (int )event .dygraph .toDomYCoord (bonferroniThreshold , 0 )-0.5 ;
289
- int width = event .canvas .getWidth ();
289
+ int width = event .canvas .getCanvas (). getWidth ();
290
290
event .canvas .save ();
291
291
event .canvas .beginPath ();
292
292
event .canvas .setStrokeStyle (gene_marker_color );
@@ -334,6 +334,7 @@ protected Options setOptions(Dygraphs.Options options){
334
334
options .setMinimumDistanceForHighlight (10 );
335
335
options .setIncludeYPositionForHightlight (true );
336
336
options .setDateWindow (viewStart , viewEnd );
337
+ options .setAnimatedZooms (true );
337
338
return options ;
338
339
}
339
340
You can’t perform that action at this time.
0 commit comments