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

Threshold line falls outside the area chart #1904

Open
2 tasks done
sheejajoni opened this issue Oct 8, 2024 · 1 comment
Open
2 tasks done

Threshold line falls outside the area chart #1904

sheejajoni opened this issue Oct 8, 2024 · 1 comment

Comments

@sheejajoni
Copy link

Package

Carbon for IBM Products

Description

When we set threshold line for area chart, the line falls outside the chart even though threshold value is given as current date.
Image

Component(s) impacted

Image

Browser

Chrome

@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version

v8.12.5

Suggested Severity

Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.

Product/offering

Infrastructure

CodeSandbox or Stackblitz example

https://pages.github.ibm.com/turbonomic-ui/turbo-ibm-cds-storybook.github.io/8.12.5/?path=/docs/components-charts-grouped-areachart--grouped-area-chart-default

Steps to reproduce the issue (if applicable)

  1. Add an area chart
  2. Add a threshold line in the area chart
    threshold: {
    xAxis: [
    {
    label: 'Current Date',
    value: new Date(),
    fillColor: cyan40,
    },
    ],
    },

Even though current date is given as threshold value, the line falls outside the widget
Image

Release date (if applicable)

No response

Code of Conduct

@oliviaflory
Copy link

@sheejajoni this is part of the Carbon charts repo, I have transferred the issue for you

@elycheea elycheea transferred this issue from carbon-design-system/ibm-products Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants