[ANALYTICS-218] Notify user when incorrect data-set it chosen for valueY Created: 11/Sep/20  Updated: 24/Sep/20  Resolved: 23/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: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 3d 1.65h
Original Estimate: Not Specified

Attachments: PNG File Admincentral-Magnolia 1.png     PNG File Screen Shot 2020-09-07 at 14.44.07.png    
Issue Links:
Cloners
clones ANALYTICS-199 (Investigation) I am able to choose t... 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)
Epic Link: Analytics UI dashboard
Sprint: Add-Ons 46, Add-Ons 47
Story Points: 5

 Description   

When creating a new widget, I see the "Maximum call stack size exceeded" error message. 

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.

Steps to reproduce:

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

Actual result

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

Expected result

  • If the data field is defined with ValueAxis, check the value user selected and show error message if it is not numeric
  • If I choose a numeric value, I see a  warning message: Please choose a numeric value for this Axis. Category, Data, Duration values can be chosen for Axis X
  • In combobox for valueAxis type, only list numeric value

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