Skip to content

Loading icon doesn't disappear until you edit the chart again [Line Chart] #814

@Skystream96

Description

@Skystream96

Description:

If you create a Line Chart and you manipulate the data (i.e add another variable, have more rows of data, etc), after clicking save chart, the loading icon doesn't disappear until you click Edit Chart.

How to reproduce:

  1. Add new chart from Chart Library
  2. Select Line Chart
  3. Add Manual data. In my example, I used a customer example. I also recreated by adding Blanket3 as series and adding random numbers for its values
  4. Click Save Chart
  5. Notice how the loading icon doesn't disappear until the Edit Chart option is clicked

Expected behavior:

After clicking save data, the Loading Icon disappears after a few seconds or immediately.

Current behavior:

The Loading Icon doesn't disappear until you click Edit Chart.

Reference:

Video showing behavior with a customer's example that has multiple rows of data.
Console Log while Loader active

Data Example Used:

Period,Adelaide,Darwin,Newcastle,Perth
string,number,number,number,number
Jul-16,4,10,40,379
Aug-16,1,7,167,43
Sep-16,9,27,49,0
Oct-16,16,4,127,0
Nov-16,14,6,200,47
Dec-16,0,9,39,21
Jan-17,88,3,45,0
Feb-17,0,3,188,176
Mar-17,2,3,70,0
Apr-17,0,2,101,69
May-17,379,4,33,70
Jun-17,11,5,143,136
Jul-17,0,3,156,0
Aug-17,0,39,110,0
Sep-17,156,5,297,401
Oct-17,141,5,66,0
Nov-17,3,6,74,247
Dec-17,15,1,109,0
Jan-18,0,14,72,30
Feb-18,3,8,320,0
Mar-18,0,13,116,0
Apr-18,22,7,235,19
May-18,432,13,80,5
Jun-18,89,8,24,29
Jul-18,2,20,166,79
Aug-18,53,26,72,0
Sep-18,15,13,101,0
Oct-18,0,7,57,1
Nov-18,1,12,52,0
Dec-18,0,2,46,0
Jan-19,0,8,20,0
Feb-19,3,7,38,0
Mar-19,1,27,58,0
Apr-19,0,4,276,1
May-19,0,7,75,0
Jun-19,0,9,170,0
Jul-19,32,10,65,6
Aug-19,0,5,415,484
Sep-19,2,8,249,0
Oct-19,0,1,263,0
Nov-19,181,3,130,2
Dec-19,0,3,45,0
Jan-20,0,4,142,0
Feb-20,0,5,61,0
Mar-20,0,10,38,0
Apr-20,1,36,50,0
May-20,41,6,28,0
Jun-20,34,4,68,8
Jul-20,2,8,70,1
Aug-20,20,5,33,0
Sep-20,57,5,67,314
Oct-20,2,7,102,0
Nov-20,60,9,150,0
Dec-20,0,8,61,0
Jan-21,0,5,34,0
Feb-21,0,11,55,0
Mar-21,22,11,113,0

Technical info

*WordPress version: 5.7.2
*Visualizer version: 3.5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.releasedIndicate that an issue has been resolved and released in a particular version of the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions