I'm encountering an issue when plotting data in an XY chart using perspective. Despite working with a relatively small dataset (30 rows and 4 columns fetched from the database using a query), I receive the following error in the graph: "Maximum call stack size exceeded."
Is there a way to avoid having that problem (such as increasing resources or optimizing somehow the graph)? Thank you for the help, I attach the error I get.
I am plotting the data using a binding in the "key" of the "dataSources" in the XY graph properties, where I refer to a Named Query that performs a SELECT statement to the database, with some parameters to filter the results I want to show.
Okay! From what limited information I know about JavaScript, this error occurs when there are too many nested function calls, causing the stack to exceed the limits.
Try using a LIMIT in your SQL statement (just in case more data is being returned than you thought). Also, someone has previously had this issue and fixed it by:
or
Hopefully there is a solution in here that will work for you! If not then I'd recommend waiting for someone from IA to reply back with their thoughts.