ChartPaddingProps

Defines optional padding values around the chart content. Padding creates spacing between the chart's rendering area and its container or surrounding elements, helping to control layout and visual balance.

Props

The following table outlines the props for the ChartPaddingProps:

NameTypeDefaultDescription
bottom
number
0

Padding on the bottom side of the chart, in pixels.

left
number
0

Padding on the left side of the chart, in pixels.

right
number
0

Padding on the right side of the chart, in pixels.

top
number
0

Padding on the top side of the chart, in pixels.