# size

Pie outer diameter. Number = px; '%' = fraction of the smaller plot side.

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

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

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `size` |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | `number \| string` |
| Default | `undefined` |

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-pie-chart](https://chart.syidax.com/docs/components/pie.md#property-size)
- [sy-radar-chart](https://chart.syidax.com/docs/components/radar.md#property-size)
- [sy-gauge-chart](https://chart.syidax.com/docs/components/gauge.md#property-size)
- [sy-item-chart](https://chart.syidax.com/docs/components/item.md#property-size)
