New answers tagged

5

Clear["Global`*"] Create a wrapper for adding a Tooltip to a Quantity qTooltip[q_Quantity, tt_String] := Tooltip[QuantityForm[q, "Abbreviation"], tt] Like other wrappers (e.g., MatrixForm), the wrapper should not be included in variable definitions. qTooltip[quant = Quantity[1, "Month"], "how to make it work?"] (* ...


8

From the version 12.1 on, you can use option ItemDisplayOption -> (# &). By default, it is set to Automatic, which does some preprocessing and converts large items to ellipsis. tooltipValue = Plot[Sinc[x], {x, 0, 10}]; Dataset[{<|"colA" -> 1, "colB" -> Tooltip[1, tooltipValue]|>, <| "colA" -> 2, &...


Top 50 recent answers are included