HeatmapDisplayPolicy
data class HeatmapDisplayPolicy(val hideContentBelow: Dp = 16.dp, val showMetricAbove: Dp = 40.dp, val showLabelAbove: Dp = 48.dp, val cellContentPadding: Dp = 6.dp, val adaptiveContent: Boolean = true, val metricFormatter: HeatmapMetricFormatter = SignedMetricFormatter)
Rules that preserve readable content in small heatmap cells.
With adaptiveContent enabled (the default), measured text dimensions decide whether a label and metric fit. The size thresholds remain deterministic fallback rules when it is disabled.