8c929e5cd513a57db841da02fd0ba41310a76610 kate Wed Mar 22 14:57:03 2017 -0700 Add mouseovers. refs #18736 diff --git src/hg/inc/barChartUi.h src/hg/inc/barChartUi.h index ea78718..224e311 100644 --- src/hg/inc/barChartUi.h +++ src/hg/inc/barChartUi.h @@ -23,30 +23,33 @@ #define BAR_CHART_MAX_LIMIT "maxLimit" #define BAR_CHART_MAX_LIMIT_DEFAULT 300 /* TODO: Get default from trackDb ? */ /* Category (bar) info */ #define BAR_CHART_MAX_CATEGORIES 100 /* 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" +/* Units to display on bar mouseover */ +#define BAR_CHART_UNIT "barChartUnit" + /* Suppress whiteout behind graph (to show highlight and blue lines) */ #define BAR_CHART_NO_WHITEOUT "noWhiteout" #define BAR_CHART_NO_WHITEOUT_DEFAULT FALSE 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" \ "(\n" \ "string chrom; \"Reference sequence chromosome or scaffold\"\n" \ "uint chromStart; \"Start position in chromosome\"\n" \ "uint chromEnd; \"End position in chromosome\"\n" \