8c4164e0b5c848c3b9f8103ac8715ba851823bf9 kent Wed Feb 3 08:10:14 2021 -0800 Increasing max categories to 2000 since 1000 looks like may happen in a year. Removing unused define. diff --git src/hg/inc/barChartUi.h src/hg/inc/barChartUi.h index dc33974..a70fc09 100644 --- src/hg/inc/barChartUi.h +++ src/hg/inc/barChartUi.h @@ -16,59 +16,56 @@ /* Data transform */ // WARNING: this also appears in JS #define BAR_CHART_LOG_TRANSFORM "logTransform" #define BAR_CHART_LOG_TRANSFORM_DEFAULT TRUE /* Data range and viewing limits */ #define BAR_CHART_MAX_LIMIT "maxLimit" #define BAR_CHART_MAX_LIMIT_DEFAULT 10000 // WARNING: this also appears in JS #define BAR_CHART_MAX_VIEW_LIMIT "maxViewLimit" #define BAR_CHART_MAX_VIEW_LIMIT_DEFAULT 50 #define BAR_CHART_LIMIT "barChartLimit" /* Category (bar) info */ -#define BAR_CHART_MAX_CATEGORIES 1000 +#define BAR_CHART_MAX_CATEGORIES 2000 /* Category filter */ #define BAR_CHART_CATEGORY_SELECT "categories" /* Labels for categories */ #define BAR_CHART_CATEGORY_LABELS "barChartBars" #define BAR_CHART_CATEGORY_LABEL "barChartLabel" #define BAR_CHART_CATEGORY_LABEL_DEFAULT "Categories" /* Colors for categories */ #define BAR_CHART_CATEGORY_COLORS "barChartColors" /* Labels and colors */ #define BAR_CHART_CATEGORY_URL "barChartCategoryUrl" /* Units to display on bar mouseover */ #define BAR_CHART_UNIT "barChartUnit" /* Measurement type -- e.g. 'median'. Shown as part of label on details page. Default is "" */ #define BAR_CHART_METRIC "barChartMetric" /* Suppress whiteout behind graph (to show highlight and blue lines) */ #define BAR_CHART_NO_WHITEOUT "noWhiteout" #define BAR_CHART_NO_WHITEOUT_DEFAULT FALSE -/* Fit graph to bounds of gene */ -#define BAR_CHART_FIT_TO_GENE "barChartFitGene" - /* Support limiting graphs to small or medium hights (bypass semantic zoom) */ #define BAR_CHART_MAX_GRAPH_SIZE "barChartMaxSize" #define BAR_CHART_MAX_GRAPH_SIZE_SMALL "small" #define BAR_CHART_MAX_GRAPH_SIZE_MEDIUM "medium" #define BAR_CHART_MAX_GRAPH_SIZE_LARGE "large" #define BAR_CHART_MAX_GRAPH_SIZE_DEFAULT BAR_CHART_MAX_GRAPH_SIZE_LARGE #define BAR_CHART_SIZE_WINDOWS "barChartSizeWindows" void barChartCfgUi(char *database, struct cart *cart, struct trackDb *tdb, char *track, char *title, boolean boxed); /* Bar chart track type */ #define barChartAutoSqlString \ "table barChartBed\n" \ "\"BED6+ with additional fields for category count and values\"\n" \