# areaReduce

Heatmap / spectrogram (): how the area LOD folds the cells a pixel covers — `mean` (the heatmap default) or `max` (the spectrogram default, peak-hold).

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

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

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `areaReduce` |
| HTML attribute | `area-reduce` |
| Type | `'mean' \| 'max'` |
| Default | `undefined` |
| Allowed values | `max`, `mean` |

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

<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-heatmap](https://chart.syidax.com/docs/components/heatmap.md#property-areaReduce)
- [sy-spectrogram](https://chart.syidax.com/docs/components/spectrogram.md#property-areaReduce)
