Skip to content

Candlestick with empty theme bug #3039

Open
@carbonrobot

Description

@carbonrobot

A <VictoryCandlestick> component with an empty theme does not render labels correctly.

Reproduction:

<VictoryCandlestick labels theme={{}} />

Expected:

Image

Actual:

TypeError: Cannot read properties of undefined (reading 'padding')

Metadata

Metadata

Assignees

Labels

Issue: AcceptedThe submitted issue has been confirmed by the Victory core teamType: Bug 🐛Oh no! A bug or unintentional behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions