Unexpected dashboards and widgets behaviour and javascript errors


(Andrea Proietti) #1

Hi,
when I try to view my dashboard widgets, they seem to be empty and they are not loaded correctly.
Inspecting the Chrome dev console, I see the following error:

Uncaught TypeError: Cannot read property ‘length’ of undefined
at exports.JqplotBarGraphDataTable._setJqplotParameters (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:2960)
at exports.JqplotBarGraphDataTable.init (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:2892)
at exports.JqplotBarGraphDataTable.DataTable (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:1184)
at exports.JqplotBarGraphDataTable.exports.JqplotGraphDataTable (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:2890)
at new exports.JqplotBarGraphDataTable (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:2960)
at HTMLDivElement. (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:1185)
at Function.each (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:4)
at n.fn.init.each (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:4)
at Function.DataTable.initNewDataTables (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:1185)
at HTMLDocument.eval (eval at globalEval (index.php?module=Proxy&action=getCoreJs&cb=88b00a517740b93119e2122fa74bff75:4), :2:39)


(Andrea Proietti) #2

Moreover, attached you will find an example of unexpected behaviour of the dashboard. Selecting a chart view mode (e.g. Users), click has effect on other chart (e.g., clicking on Sex chart --> mod on Traveltime chart!). Changing time interval produce empty chart, also by selecting the same day (31/7).