Closed (works as designed)
Project:
Quant
Version:
7.x-1.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Aug 2014 at 17:32 UTC
Updated:
22 Aug 2014 at 19:40 UTC
Jump to comment: Most recent
Installed modules:
Charts 7.x-2.0-rc1
Google charts 7.x-2.0-rc1
Quant 7.x-1.0-beta4
Chart plugin
* Table charts
I get table with dates and data that is fine, but i dont get graph. I also get "warning msg".
Strict warning: Only variables should be passed by reference in quant_page() (line 44 of \quant\includes\pages.inc).
// Theme and return the page
return theme(
'quant_page',
array(
'form' => drupal_render(drupal_get_form('quant_time_form')), <- line 44***
'charts' => $charts
)
);
}
Comments
Comment #1
redcasso commentedI found this warning problem in .dev patch.
Strict warning: Only variables should be passed by reference in quant_page() (line 44 of \quant\includes\pages.inc).
I`m still searching how to get graph in configure site I can choose only:
Chart plugin
*Table charts
Output chart data in a plain-text table
Choose the plugin to render the charts in.
Comment #2
redcasso commentedSolved I miss Chart API ... https://www.drupal.org/project/chart
Works great!
Comment #3
redcasso commented