c32d6e08d19a0b8ad7ece12aab39d0ba0be7a9e1
chmalee
  Mon Dec 1 16:26:27 2025 -0800
hgTracks tooltips use the data-tooltip attribute on the area element if present, falling back to the title attribute. Makes title attributes for (hopefully all) tracks with special tooltips put the tooltip string into the data-tooltip attribute instead of the title attribute, refs #35756

diff --git src/hg/hgTracks/chromGraphTrack.c src/hg/hgTracks/chromGraphTrack.c
index 74915fbee34..a3f694a5eff 100644
--- src/hg/hgTracks/chromGraphTrack.c
+++ src/hg/hgTracks/chromGraphTrack.c
@@ -182,31 +182,31 @@
 /* Do map box */
 xOff = hvGfxAdjXW(hvg, xOff, width);
 
 char *encodedTrack = cgiEncode(tg->track);
 if (theImgBox && curImgTrack)
     {
     char link[512];     // FIXME: winStart/winEnd are not right when using a portal
     // winStart/winEnd added back by Galt for multi-region
     safef(link,sizeof(link),"%s&c=%s&l=%d&r=%d&o=%d&t=%d&g=%s", hgcNameAndSettings(),
         chromName, winStart, winEnd, winStart, winEnd, encodedTrack);
 #ifdef IMAGEv2_SHORT_MAPITEMS
     if (xOff < insideX && xOff+width > insideX)
         warn("cgDrawEither(%s) map item spanning slices. LX:%d TY:%d RX:%d BY:%d  link:[%s]",
              encodedTrack,xOff, yOff, xOff+width, yOff+height, link);
 #endif//def IMAGEv2_SHORT_MAPITEMS
-    imgTrackAddMapItem(curImgTrack,link,NULL,xOff,yOff,xOff+width,yOff+height,tg->track);
+    imgTrackAddMapItem(curImgTrack,link,NULL,xOff,yOff,xOff+width,yOff+height,tg->track, NULL);
     }
 else
     {
     hPrintf("<AREA SHAPE=RECT COORDS=\"%d,%d,%d,%d\" ", xOff, yOff, xOff+width,
             yOff+height);
     hPrintf("HREF=\"%s&o=%d&t=%d&g=%s&c=%s&l=%d&r=%d&db=%s&pix=%d\">\n",
             hgcNameAndSettings(), winStart, winEnd, encodedTrack, chromName, winStart, winEnd,
             database, tl.picWidth);
     }
 }
 
 static void cgDrawItems(struct track *tg, int seqStart, int seqEnd,
         struct hvGfx *hvg, int xOff, int yOff, int width,
         MgFont *font, Color color, enum trackVisibility vis)
 /* Draw chromosome graph for built-in track. */