e9ded1aec0ee20e088527f5260f97ec54a476338 braney Fri Apr 25 13:46:17 2014 -0700 stacked bar fixes, including javascript on the ui page diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 3278fdf..264d69a 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -4712,30 +4712,33 @@ wiggleGridDropDown(option, horizontalGrid); printf(" at y ="); safef(option, sizeof(option), "%s.%s", name, YLINEMARK ); cgiMakeDoubleVarWithLimits(option, yLineMark, "Indicator at Y", 0, tDbMinY, tDbMaxY); safef(option, sizeof(option), "%s.%s", name, YLINEONOFF ); wiggleYLineMarkDropDown(option, yLineMarkOnOff); printf("</td>"); if (boxed) puts("</TD></TR></TABLE>"); else { puts("</TD></TR></TABLE>"); printf("<A HREF=\"%s\" TARGET=_blank>Graph configuration help</A>",WIGGLE_HELP_PAGE); } +// add a little javascript call to make sure we don't get whiskers with stacks +puts("<script> $(function () { multiWigSetupOnChange('wgEncodeRegMarkH3k27ac'); }); </script>\n"); + cfgEndBox(boxed); } void filterButtons(char *filterTypeVar, char *filterTypeVal, boolean none) /* Put up some filter buttons. */ { printf("<B>Filter:</B> "); radioButton(filterTypeVar, filterTypeVal, "red"); radioButton(filterTypeVar, filterTypeVal, "green"); radioButton(filterTypeVar, filterTypeVal, "blue"); radioButton(filterTypeVar, filterTypeVal, "exclude"); radioButton(filterTypeVar, filterTypeVal, "include"); if (none) radioButton(filterTypeVar, filterTypeVal, "none");