carbon-addons-iot-react icon indicating copy to clipboard operation
carbon-addons-iot-react copied to clipboard

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

Open herleraja opened this issue 1 year ago • 3 comments

What package is this for?

  • [x] React
  • [ ] Angular

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.

herleraja avatar Dec 01 '22 12:12 herleraja

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

JordanWSmith15 avatar Dec 01 '22 18:12 JordanWSmith15

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

JordanWSmith15 avatar Jan 04 '23 14:01 JordanWSmith15

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

davidicus avatar Feb 03 '23 18:02 davidicus