23bb7c6df21dec94a2a711c14149da901647104a
braney
Tue May 17 15:02:54 2016 -0700
use autoscale and maximum scaling mode for density graphs. Also, don't
show the wiggle options unless folks have selected density graph
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index dee6965..0e68346 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -4820,39 +4820,44 @@
void wigOption(struct cart *cart, char *name, char *title, struct trackDb *tdb)
/* let the user choose to see the track in wiggle mode */
{
char *canDoCoverage = cfgOptionEnvDefault("HGDB_CAN_DO_COVERAGE",
CanDoCoverageConfVariable, "off");
if (differentString(canDoCoverage, "on"))
return;
printf("
Display data as a density graph: ");
char varName[1024];
safef(varName, sizeof(varName), "%s.doWiggle", name);
boolean parentLevel = isNameAtParentLevel(tdb,varName);
boolean option = cartUsualBooleanClosestToHome(cart, tdb, parentLevel,"doWiggle", FALSE);
-//char *optVal = "on";
-//if (! option)
- //optVal = "off";
-//printf("\n", varName)
-
cgiMakeCheckBox(varName, option);
printf("
\n");
-printf("