Skip to content

Uncaught (in promise) TypeError: Cannot read property 'getBoundingClientRect' of null, when use annotation #279

@wondertalik

Description

@wondertalik

Hello, i am using annotation to show summary of stacked bar. When no data from the server get an error in console. I have prepared an example.
To get an en error press button "Build without data".

apexcharts:6 Uncaught (in promise) TypeError: Cannot read property 'getBoundingClientRect' of null
    at t.value (apexcharts:6)
    at t.value (apexcharts:6)
    at t.value (apexcharts:6)
    at Object.value (apexcharts:14)
    at apexcharts:14
    at Array.forEach (<anonymous>)
    at apexcharts:14
    at new Promise (<anonymous>)
    at t.value (apexcharts:14)
    at apexcharts:14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions