0c54fc14a14f7258dd59e88911e4385c02032a4d
kent
  Sat Jan 23 17:41:05 2021 -0800
Slightly tweaking estimated size.

diff --git src/hg/hgc/barChartClick.c src/hg/hgc/barChartClick.c
index f0b5e10..ba615fe 100644
--- src/hg/hgc/barChartClick.c
+++ src/hg/hgc/barChartClick.c
@@ -384,31 +384,31 @@
 MgFont *font = mgHelvetica14Font();
 return mgFontStringWidth(font, s);
 }
 
 static double longestLabelSize(struct barChartCategory *categList)
 /* Get estimate of longest label in pixels */
 {
 int longest = 0;
 struct barChartCategory *categ;
 for (categ = categList; categ != NULL; categ = categ->next)
     {
     int size = estimateStringWidth(categ->label);
     if (size > longest)
         longest = size;
     }
-return longest * 1.09;
+return longest * 1.02;
 }
 
 void deunderbarColumn(struct fieldedTable *ft, char *field)
 /* Ununderbar all of a column inside table because space/underbar gets
  * so confusing */
 {
 int fieldIx = fieldedTableFindFieldIx(ft, field);
 struct fieldedRow *row;
 for (row = ft->rowList; row != NULL; row = row->next)
     replaceChar(row->row[fieldIx], '_', ' ');
 }
 
 static void printBarChart(struct barChartBed *chart, struct trackDb *tdb, double maxVal, char *metric)
 /* Plot bar chart without quartiles or anything fancy just using SVG */
 {