[ANALYTICS-199] (Investigation) I am able to choose the incorrect data-set for my series Created: 26/Aug/20  Updated: 15/Sep/20  Resolved: 11/Sep/20

Status: Closed
Project: Analytics
Component/s: None
Affects Version/s: None
Fix Version/s: 1.2

Type: Improvement Priority: Neutral
Reporter: Laura Delnevo Assignee: Yen Lac Tue
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 1d 5.75h
Original Estimate: Not Specified

Attachments: PNG File Admincentral-Magnolia 1.png     PNG File Screen Shot 2020-09-07 at 14.44.07.png     PNG File Screen Shot 2020-09-08 at 11.35.59 AM.png     PNG File Screenshot 2020-08-26 at 13.35.12.png     PNG File Screenshot 2020-08-26 at 13.38.06.png    
Issue Links:
Cloners
is cloned by ANALYTICS-218 Notify user when incorrect data-set i... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:
Epic Link: Analytics UI dashboard
Sprint: Add-Ons 46
Story Points: 5

 Description   

When creating a new widget, I am able to choose the incorrect data-set for my series

Steps to reproduce:

  • Add New Widget
  • Choose Chart type 
  • Pick series for X - e.g. bounce
  • Pick series for Y - e.g. date 

Expected result

  • I can only pick the valid data-set for my series 
  • The chart is generate with the chosen data

Actual result

  • A non-mgnl error message is shown "Maximum call size exceeded"
  • My widget is not create
  • As a user I don't know why my widget wasn't generate

Note --> If I swap X and Y values ( x = date and y = bounce ) the widget is generated 



 Comments   
Comment by Yen Lac Tue [ 08/Sep/20 ]

Hi ldelnevo,

 

There is a definition for data type with Amcharts:

In this case, the error message "Maximum call stack size exceeded" showed up because valueY is defined with ValueAxis type, which only accepts numeric value but we select date value so it can't parse to correct data for display.

I have some solutions to approach this problem:

  1. Add tooltip on data fields to help users to know what type of data suitable for that field.
  2. If the data field is defined with ValueAxis, check the value user selected and show error message if it is not numeric.
  3. Please ignore this solution, because it can not cover all type of chart - Change all data field defined with ValueAxis to CategoryAxis (I'm still investigating on this solution and the chart display differently)

How do you think?

Yen Lac

Generated at Sun Feb 11 23:16:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.