# nodeLabels

the node labels (auto / show / hide) and the throughput suffix.

Canonical: https://chart.syidax.com/docs/options/nodeLabels/

<a id="definition"></a>

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `nodeLabels` |
| HTML attribute | `node-labels` |
| Type | `SankeyLabelMode` |
| Default | `undefined` |
| Allowed values | `auto`, `show`, `hide` |

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

- [SankeyLabelMode](https://chart.syidax.com/docs/types/SankeyLabelMode.md) — Type definition

<a id="example"></a>

## Configuration example

```javascript
// Register sy-chord and create the element before configuring it.
chart.nodeLabels = "show";
```

- [Chord · Complete examples and API](https://chart.syidax.com/docs/components/chord.md)

<a id="related"></a>

## Related documentation

A property with the same name may have different types and defaults across charts. When using a direct tag, follow that chart's documentation below.

- [Shared facade and direct tags](https://chart.syidax.com/docs/concepts.md)
- [sy-treemap](https://chart.syidax.com/docs/components/treemap.md#property-nodeLabels)
- [sy-sunburst](https://chart.syidax.com/docs/components/sunburst.md#property-nodeLabels)
- [sy-icicle](https://chart.syidax.com/docs/components/icicle.md#property-nodeLabels)
- [sy-dendrogram](https://chart.syidax.com/docs/components/dendrogram.md#property-nodeLabels)
- [sy-sankey](https://chart.syidax.com/docs/components/sankey.md#property-nodeLabels)
- [sy-chord](https://chart.syidax.com/docs/components/chord.md#property-nodeLabels)
- [sy-network-graph](https://chart.syidax.com/docs/components/network-graph.md#property-nodeLabels)
- [sy-geo-map](https://chart.syidax.com/docs/components/geo-map.md#property-nodeLabels)
