Instructions:
2. Download jQuery Visualize Plugin from http://www.filamentgroup.com/lab/jquery_visualize_plugin_accessible_char...
3. Place the content of the ZIP file inside jquery_visualize/jquery_plugin
-----------
When I added the contents of the zip (which is quite large) the module still didn't work. So I opened up the module:
drupal_add_js(drupal_get_path('module', 'visualize').'/jquery_plugin/visualize.jQuery.js');
drupal_add_js(drupal_get_path('module', 'visualize').'/jquery_plugin/excanvas.compiled.js');
drupal_add_css(drupal_get_path('module', 'visualize').'/jquery_plugin/visualize.jQuery.css');
drupal_set_html_head('<!--[if IE]><script type="text/javascript" src="'.drupal_get_path('module', 'visualize').'/jquery_plugin/excanvas.compiled.js"></script><![endif]-->');
That's no where near similar to the contents of the ZIP...
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | visualize.module.txt | 7.22 KB | jteague |
Comments
Comment #1
javi-er commentedThanks for the notice, the zip content have changed significantly since the first release of this module,
I'll make a new release soon adapted to the new version of the plugin.
Comment #2
jteague commentedFirst, this plugin for JQuery/Visualize is head and shoulders better than any other charting module I have looked into. It's flexibility alone makes it a winner.
Although this could certainly change, and really needs to, here is the method I used to correct the path issue when downloading the most current zip of visualize plugin code:
dwpe-code-public-latest/chartingdirectory to insidejquery_visualize/jquery_plugin(I also moved the root license file into the charting directory as well)/visualize/jquery_plugin/chartingvisualize.module beginning near line 65
Notice that this is where we need to correct the paths to the new plugin. Of course, you could play around with this method. This is just the one I decided to use. It does solve the problem noted earlier.
Comment #3
javi-er commentedThanks for these instructions, I'm working on a new release that will solve a number of issues and I'll make sure to update the paths as you mentioned.
The jQuery Visualize plugin had many changes since the initial release and the folder structure changed more than one time, but hopefully the folder structure will remain the same for a time now.
Comment #4
verta commentedFYI, the internal structure has changed. The JS is in a js folder and the css is in a css folder.
Also, the excanvas.compiled.js file seems to be just excanvas.js now and visualize.jQuery.css is just visualize.css.
Still working on getting the module installed on the current release of the library. Looks really promising, any updates?