carbon-design-system / carbon-addons-iot-react

A collection of React components shared between IBM Watson IoT products.
https://carbon-design-system.github.io/carbon-addons-iot-react/
Apache License 2.0
96 stars 78 forks source link

[BarChartCard] horizontal bar chart bars are not displaying full stack of values #3659

Open herleraja opened 1 year ago

herleraja commented 1 year ago

What package is this for?

Describe the bug

create a stacked barchart card with one horizontal and one vertical alignment image

Use the same data for both cards.

Data:

[{"timestamp":1669896120000,"manufacture":"Herle GMBH 3","acc_c93887d0-c3e4-408f-aeff-0f90323715e0":65970.0},{"timestamp":1669896120000,"manufacture":"Herle GMBH 2","acc_c93887d0-c3e4-408f-aeff-0f90323715e0":69409.0},{"timestamp":1669896120000,"manufacture":"Herle GMBH 4","acc_c93887d0-c3e4-408f-aeff-0f90323715e0":69731.0},{"timestamp":1669896120000,"manufacture":"Herle GMBH 5","acc_c93887d0-c3e4-408f-aeff-0f90323715e0":68995.0},{"timestamp":1669896120000,"manufacture":"Herle GMBH 6","acc_c93887d0-c3e4-408f-aeff-0f90323715e0":65499.0},{"timestamp":1669896120000,"manufacture":"Herle GMBH 1","acc_c93887d0-c3e4-408f-aeff-0f90323715e0":68265.0}]

Ideally, the horizontal card X axis must be similar to the verticle bar chart Y axis.

JordanWSmith15 commented 1 year ago

@davidicus Is this an issue for the Carbon charts team?

JordanWSmith15 commented 1 year ago

@davidicus Reminder on this. It would think this needs to go to the Carbon Charts team.

davidicus commented 1 year ago

I will need to look into this but I would assume this would be a Carbon Charts issue