carbon-design-system / carbon-charts

:bar_chart: :chart_with_upwards_trend:⠀Robust dataviz framework implemented using D3 & typescript
https://charts.carbondesignsystem.com
Apache License 2.0
908 stars 184 forks source link

[Bug]: Threshold intermittently does not appear #1358

Open trylaarsdam opened 2 years ago

trylaarsdam commented 2 years ago

Contact Details

todd@toddr.org

What happened?

When using a larger dataset (usually 1000+ datapoints), threshold lines will start to intermittently disappear on load. This results in about 60% of the time the thresholds not appearing.

If you hover your cursor over where the threshold should be, the tooltip still appears as normal.

https://user-images.githubusercontent.com/50586094/166743841-5e5ef82f-e5a1-47d9-af11-10c02af124e8.mov

Version

@carbon/charts-vue: 0.57.0

Data & options used

Data: https://pastebin.com/aepRLvst

Thresholds:

[
    {
        "value": "2022-04-26T14:15:47.039Z",
        "label": "auraViaUser",
        "fillColor": "red"
    },
    {
        "value": "2022-05-01T21:38:26.108Z",
        "label": "auraViaUser",
        "fillColor": "red"
    },
    {
        "value": "2022-04-28T19:21:32.744Z",
        "label": "auraViaUser",
        "fillColor": "red"
    }
]

Relevant log output

No response

Codesandbox example

No response

trylaarsdam commented 2 years ago

Seems to have gone away after disabling animations

(edit) Still happening