Widgets should be able to persist some parameters (eg. viewDataTable) #5510

anonymous-piwik-user opened this Issue Jan 29, 2008 · 5 comments

4 participants


The user could want to save the default appearance of his widgets.
Currently only the widget name is saved. But it would be nice to also save the “state” of the widget, in this case defined by the “viewDataTable” parameter.

For instance he can decide to view getCountry with a pie-chart by
Parameters would be stored in the JSON as an array.

see also #380
Keywords: persistance view widgets


In #791, haas raises the issue that filter_limit doesn't persist switching between a widget's chart types:
If I preconfigure the widget to filter_limit=8, this value is taken into account first. If I use the dataTableFooterIcons to switch to a different view I only need to click on the bars and than back to table view and the filter limit is reset to 3. Expected -> The original filter limit should be kept.


We also need a getter to resolve #789.

Piwik Open Source Analytics member

(In [2497]) Fixes #5510 Dashboard now remembers which View type the widgets were set to (table, goals, all columns, pie chart, vertical chart, etc.) and saves this information in the dashboard layout.

Piwik Open Source Analytics member

Should this ticket be reopened now that #1820 is implemented?

Piwik Open Source Analytics member

Good point, it is now included in: #1915

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment