You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`TyphiNET presents data aggregated from >100 studies. Data are drawn from studies with the following PubMed IDs (PMIDs) or Digital Object Identifier (DOI): ${list.join(
223
-
', '
224
-
)}.`,
225
-
16,
226
-
185,
227
-
{align: 'left',maxWidth: pageWidth-36}
228
-
);
220
+
dynamicText=`TyphiNET presents data aggregated from >100 studies. Data are drawn from studies with the following PubMed IDs (PMIDs) or Digital Object Identifier (DOI): ${list.join(', ')}.`
229
221
}else{
230
222
list=listPIMD.filter((value)=>value!=="-")
231
-
pmidSpace=-30;
232
-
doc.text(
233
-
`TyphiNET presents data aggregated from >100 studies. Data for country ${actualCountry} are drawn from studies with the following PubMed IDs (PMIDs) or Digital Object Identifier (DOI): ${list.join(
234
-
', '
235
-
)}.`,
236
-
16,
237
-
185,
238
-
{align: 'left',maxWidth: pageWidth-36}
239
-
);
240
-
}
223
+
dynamicText=`TyphiNET presents data aggregated from >100 studies. Data for country ${actualCountry} are drawn from studies with the following PubMed IDs (PMIDs) or Digital Object Identifier (DOI): ${list.join(', ')}.`
224
+
consttextWidth=doc.getTextWidth(dynamicText);
225
+
226
+
constwidthRanges=[815,1200,1600,2000,2400];
227
+
constpmidSpaces=[-50,-40,-30,-20,-10,0];
241
228
229
+
// Find the appropriate pmidSpace based on textWidth
<Typographyvariant="caption">Select drugs/classes to display</Typography>
255
255
<Tooltip
256
-
title="The resistance frequencies are only shown for years with N≥10 genomes. When the data is insufficent per year to calculate annual frequencies, there are no data points to show."
256
+
title="The resistance frequencies are only shown for years with N≥10 genomes. When the data is insufficient per year to calculate annual frequencies, there are no data points to show."
0 commit comments