Hierarchy label
HierarchyLabelOptions, HierarchySecondaryLabel: generated from the source of active-charts.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Types#
The visual label policy of a treemap or a sunburst. It changes only what the drawing shows: the accessible names, the tooltip, the data table and the announcements keep every node's name and value.
interface HierarchyLabelOptions {
secondary?: HierarchySecondaryLabel;
levels?: readonly number[];
}What a data mark's second line says, under its name.
'share': the mark's share of the shown total, as a percentage;'value': the node's (summed) value, written in the chart'svalue(BC1), the same text as its tooltip and table;Semantics 'none': no second line.
type HierarchySecondaryLabel = 'share' | 'value' | 'none';