Skip to content

Chart plots blank (with data) #17043

@HelloWorld1949

Description

@HelloWorld1949

Version

e.g.5.3.2

Link to Minimal Reproduction

No response

Steps to Reproduce

step1: Use the timer to execute the drawing function after the document is loaded. The result is that there is data and no pictures.
step2: Bind the drawing function to the button event, there is still data but no picture when clicked to execute, and there is no error in the background view.
step3: The logic of the drawing function remains unchanged, remove the timer delay in step1, execute it by means of step2, and find that the drawing is successful.
image
image
image

Current Behavior

The main problem: once I delay drawing the chart through the timer, the artboard is blank; if I remove the timer and execute it by button click instead, the chart draws successfully. The above problem does not have any error output in the browser console panel.

Expected Behavior

Hope that solves the problem; I've tried to do so by clearing the chart object, but it didn't work.

Environment

- OS:win10
- Browser:chrome 96.0.4664.45
- Framework:JS+HTML
There is no background service framework, I am writing a browser plugin.

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugenThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.waiting-for: community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions