Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Legend disappearing after loading data #1773

Open
rihanasuhail opened this issue Feb 29, 2024 · 2 comments
Open

[Bug]: Legend disappearing after loading data #1773

rihanasuhail opened this issue Feb 29, 2024 · 2 comments

Comments

@rihanasuhail
Copy link

Application/Team

IBM API Connect

What happened?

While loading the data, since there is no data while loading, the legend would be hidden. Once the loading of data is completed, the legend doesn't appear back. So need a way to refresh the heatmap chart once there is data so that it rechecks whether to display the legend or not.

Version

@carbon/charts-react": "1.14.6"

Data & options used

No response

Relevant log output

No response

StackBlitz example

https://stackblitz.com/edit/react-imtvrq-r68nsw?file=package.json,src%2Findex.js,src%2Fdata.js

What priority level would this be in your opinion?

P2

@chrisdudley
Copy link

I think this was caused by the recent change #1763
added for #1759

@chrisdudley
Copy link

@RiyaJethwa any chance you could take a look at this please? the legend is missing from the headmap chart if the data is loaded after the chart is created (e.g. once a REST call completes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants