Attempting to finally move from 12.1 to 13.0, I'm seeing the following exception when regressing code that uses the FacetChart.
Uncaught Exception: Exception caught: (TypeError) : Cannot read properties of undefined (reading 'create')
This occurs with the Simple Chart showcase code snippet as well:
v13.0p_2022-03-31/PowerEdition Deployment (built 2022-03-31)
Uncaught Exception: Exception caught: (TypeError) : Cannot read properties of undefined (reading 'create')
This occurs with the Simple Chart showcase code snippet as well:
Code:
// Creating data
Record sprRec = new Record();
sprRec.setAttribute("season", "Spring");
sprRec.setAttribute("temp", "79");
Record sumRec = new Record();
sumRec.setAttribute("season", "Summer");
sumRec.setAttribute("temp", "102");
Record autRec = new Record();
autRec.setAttribute("season", "Autumn");
autRec.setAttribute("temp", "81");
Record winRec = new Record();
winRec.setAttribute("season", "Winter");
winRec.setAttribute("temp", "59");
// Creating chart
FacetChart chart = new FacetChart();
chart.setFacets(new Facet("season", "Season"));
chart.setValueProperty("temp");
chart.setData(new Record[]{sprRec, sumRec, autRec, winRec});
chart.setTitle("Average temperature in Las Vegas");
addMember(chart);
v13.0p_2022-03-31/PowerEdition Deployment (built 2022-03-31)
Comment