08c8e7af6efdcb2902bda11d2b309c116565b413 braney Sun Nov 3 09:08:26 2019 -0800 take #2 on implementing "autoScale group" in trackDb. diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 37c1ecc..0aaa42b 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -5580,34 +5580,31 @@ { printf(""); printf("Graph configuration help",WIGGLE_HELP_PAGE); } puts(""); printf("Track height:"); safef(option, sizeof(option), "%s.%s", name, HEIGHTPER ); cgiMakeIntVarWithLimits(option, defaultHeight, "Track height",0, minHeightPixels, maxHeightPixels); printf("pixels (range: %d to %d)", minHeightPixels, maxHeightPixels); puts(""); printf("Data view scaling:"); safef(option, sizeof(option), "%s.%s", name, AUTOSCALE ); -if (parentLevel && !tdbIsMultiTrack(tdb->parent)) wiggleScaleDropDownParent(option, autoScale); -else - wiggleScaleDropDown(option, autoScale); wiggleScaleDropDownJavascript(name); safef(option, sizeof(option), "%s.%s", name, ALWAYSZERO); printf("Always include zero: "); wiggleAlwaysZeroDropDown(option, alwaysZero); puts(""); printf("Vertical viewing range:" " min: ", name); safef(option, sizeof(option), "%s.%s", name, MIN_Y ); cgiMakeDoubleVarWithLimits(option, minY, "Range min", 0, NO_VALUE, NO_VALUE); printf("max: "); safef(option, sizeof(option), "%s.%s", name, MAX_Y ); cgiMakeDoubleVarWithLimits(option, maxY, "Range max", 0, NO_VALUE, NO_VALUE); if (!isCustomComposite(tdb)) printf(" (range: %g to %g)",