Semi-headless composition
Compose chart root, surface, and legend when you want to own the surrounding layout while reusing TailNG chart state and renderer isolation.
Semi-headless
Compose chart root, surface, and legend while reusing TailNG chart state and renderer isolation.
Use tng-chart-root as the state host, tng-chart-surface for the renderer, and tng-chart-legend for a TailNG-styled legend that reads from chart context.
Semi-headless chart layout
html
<tng-chart-root [optionFactory]="optionFactory" [legendItems]="legendItems">
<tng-chart-surface />
<tng-chart-legend />
</tng-chart-root>