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]: threshold html elements of line chart still existing when thresholdoptions are empty #1875

Open
1 of 6 tasks
emirzeylan opened this issue Aug 6, 2024 · 0 comments
Open
1 of 6 tasks

Comments

@emirzeylan
Copy link

Relevant package(s)

  • @carbon/charts
  • @carbon/charts-svelte
  • @carbon/charts-react
  • @carbon/charts-angular
  • @carbon/charts-vue
  • Documentation website

Carbon Charts Version

1.17.2

Which bundler are you using?

None (UMD)

What happened and what did you expect to happen?

I am using carbon line chart where the options are updated and changed after data is rendered. However when I change dynamically the options of the line charts, e.g. removing thresholds. The line chart keeps the html rendered, although the thresholds are empty array. The HTML is not updated.

Scherm­afbeelding 2024-08-06 om 13 29 29
Scherm­afbeelding 2024-08-06 om 13 29 45

Chart data and options (automatically formatted so no need for backticks)

No response

JavaScript console or build output (if relevant)

No response

StackBlitz repro

No response

IBM Application/Team (if relevant)

No response

What priority level would this be in your opinion?

P2 (Medium)

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

1 participant