react-charts icon indicating copy to clipboard operation
react-charts copied to clipboard

`bar` element type doesn't show properly when axis value is a date

Open Newbie012 opened this issue 2 years ago • 1 comments

When using a bar element type in conjunction with the primary axis as dates, the bars get huge with no relevance to the graph.

See reproduction

As line:

image

As bar (with primary axis value as date):

image

As bar (with primary axis value as string):

image

Newbie012 avatar Nov 01 '23 08:11 Newbie012

Same problem here, did you find a solution ?

Mimetis avatar Mar 16 '24 00:03 Mimetis