| po_labels {d3po} | R Documentation |
Labels
Description
Edit labels positioning in a treemap.
Usage
po_labels(
d3po,
x = NULL,
y = NULL,
title = NULL,
subtitle = NULL,
labels = NULL,
align = "left-top"
)
Arguments
d3po |
Either the output of d3po() or d3po_proxy().
|
x |
Optional x-axis label. |
y |
Optional y-axis label. |
title |
Optional title for the chart. |
subtitle |
Optional subtitle for the chart. |
labels |
Optional character vector or JavaScript function for custom label fields for treemaps. |
align |
Label alignment for treemaps. Must be one of "left-top", "center-middle", or "right-top". |
Value
Appends custom labels to an 'htmlwidgets' object