Signature for callbacks that builds tooltip text based on the provided key and value.
key
value
typedef TooltipBuilder<T> = String Function(DateTime key, T value);