ChartRadialGradientProps

Defines the style settings for a radial gradient applied to a supported chart host.

Props

The following table outlines the props for the ChartRadialGradientProps:

NameTypeDefaultDescription
cx
number | string
'50%'

Specifies the x-coordinate of the gradient's center.

cy
number | string
'50%'

Specifies the y-coordinate of the gradient's center.

fx
number | string
''

Specifies the x-coordinate of the gradient's focal point. Defaults to the resolved value of cx.

fy
number | string
''

Specifies the y-coordinate of the gradient's focal point. Defaults to the resolved value of cy.

r
number | string
'50%'

Specifies the radius of the gradient circle.