-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to disable seriesPicker for jqPlot #3316
Comments
Attachment: |
Please review |
The implementation just worked for evolution graphs. Pie charts overwrite the settings in core/Controller.php. |
Attachment: Correct patch! |
Please review the patch to apply the best solution. Also update & add the new parameter in the Analytics Widgets doc. parameter name should be "showSeriesPicker" ? |
matt, how can I update the doc? Shall I review the patch again or do you mean somebody else? |
Use case:
Using Widgetize-Plugin to display certain widgets on a website:
This widget should be a limited version of the real piwik widgets, so you want to disable other series for the graph. Currently there is no option to disable the series picker in jqPlot, it is always activated as long as there are other series types for the requested graph.
I am aware of the fact that the URL can be manipulated to show other graph types. This is not important as the end user is assumed to not be able to do it. On the other hand, this could be prevented by apache rules for example.
This patch allows to set request parameter "seriesPicker" to 0 to disable the seriesPicker.
The text was updated successfully, but these errors were encountered: