I'm struggling with a similar problem. How far did you get? Do you have a working chart? I discovered that the link in the chart is based on whatever fields are included in the constructGroupBy() function in the main chart file i.e. PipelineBySalesStageDashlet.php
called by
PHP Code:
$sugarChart->group_by = $this->constructGroupBy();
My custom Pie Chart works with a custom field (a drop down list) however the drill down link on the chart doesn't filter the Opportunities according to the selected value. Looking through the sugarcrm.log shows that the correct field is referenced.
The problem seems to lie with the SearchForm action which ignores custom fields. I'm attempting to decipher the code of /include/SearchForm/SearchForm2.php, if I find a solution I'll post here.
I found the solution. The problem is with the include/MVC/View/views/view.list.php file see my other post:
http://www.sugarcrm.com/forums/showt...984#post119984
Bookmarks