-
-
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
Allow customization of jqPlot parameters - show/hide canvasLegend #3341
Comments
Attachment: |
I think a pre-requisite should be to update libs/jqplot. |
Replying to vipsoft:
Is there a ticket to update jqplot? I found a lot of custom functionality in jqplot.js, doesn't seem to be easy to update it. |
Sorry about the delay in replying. Thank you for the patch! Did you have any other patches you wished us to commit to help you build better data visualization using Piwik ? We have put all our ideas and discussion about the Interactive JS Jqplot graphs, in this ticket: #3110 Please comment there if you wish to make a new point or suggestion. Or create new tickets for patches (or submit them in here and we'll review all at once). regarding updating jqplot, I'm not sure. Have you looked into it? is it doable ? |
@chmielot are you still interested to help with jqplot update maybe? |
@matt, unfortunately I have no time to work on this now. It's possible that I'm gonna have some time to look into it in december, but can't promise anything. In this particular case, better don't count on me. |
please reopen if patch |
Use case: The canvas legend of pie charts doesn't make sense, actually. Currently a canvas legend with the word "visits" is shown.
This patch prepares piwik to customize plot parameters. Plot parameters that should be allowed to be customized need to be added to Piwik_ViewDataTable::init() to the protected $plotProperties variable. Plot options are then fully under control of PIWIK and if desires arise to customize other parameters as well, they can easily be added.
Of course modifications to jqplot.js are unavoidable to $.extend() the default settings.
Please review and tell if you can think of better implementations. This one seems pretty straight forward and transparent to me.
The text was updated successfully, but these errors were encountered: