2210699f461f50a127c54c147c79f2733ec8b22d bwick Fri May 23 10:57:28 2025 -0700 More changes to legend buttons and styling. diff --git src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js index 1afbb56..beb4fe0 100644 --- src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js +++ src/cbPyLib/cellbrowser/cbWeb/js/cellBrowser.js @@ -8013,31 +8013,31 @@ //legendIds.push(legendId); //} //var cellIds = findCellIdsForLegendIds(gClasses, legendIds); //var mode; //if (key==0) // hide //mode = "hide"; //else //mode = "showOnly"; //filterCoordsAndUpdate(cellIds, mode); //} function setLegendHeaders(type) { /* set the headers of the right-hand legend */ if (type==="category") { - $('#tpLegendCol1').html(' Name'); + $('#tpLegendCol1').html(' Name'); $('#tpLegendCol2').html(' Frequency'); } else { $('#tpLegendCol1').html(' Range'+legTitle+""); if (subTitle) htmls.push('
'+subTitle+"
"); htmls.push('
Click buttons to select '+gSampleDesc+'s
'); htmls.push(""); htmls.push(""); htmls.push(""); htmls.push(""); - let buttonText = "Recolor only checked"; + let buttonText = "Recolor checked fields"; if (gLegend.isColorOnlyChecked===true) { buttonText = "Reset colors"; } htmls.push(""); htmls.push(""); // title htmls.push('
'); htmls.push('
'); // get the sum of all, to calculate frequency var sum = 0; for (var i = 0; i < rows.length; i++) { let count = rows[i].count; sum += count;