Active
Project:
Views Charts
Version:
6.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2011 at 16:55 UTC
Updated:
7 May 2012 at 23:09 UTC
Hi, first up this is a great module and it adds such great possibilities to extending drupal.. I'm trying to display some CCK using the amcharting engine... I followed the install documentation stated here http://drupal.org/node/681928 However, when rendered I am not seeing any tooltip when hovering the bars. I'm only seeing a little bubble on top of the bars... (see image attached)
Also is it possible to implement Custom description for any data point? to be more specific, each value/ data field has a related description/comment, could you guys add that feature?
Any help will be greatly appreciated...
Regards
| Comment | File | Size | Author |
|---|---|---|---|
| amcharts-no-tooltip.png | 17.87 KB | brunox |
Comments
Comment #1
capoyeti commentedHiya,
Has anyone replied offline to you? I would like to make similar changes (remove legend) as well as display the hover 'values' via tooltip.
Thanks,
Chad
Comment #2
capoyeti commentedSo - in my investigation and attempt to solve this for myself, I played around with creating a page (node) that would display the tooltip (balloon) with the bar/column values. I used this post as the basis for the test (http://drupal.org/node/681928 - specifically the post by nhero on January 26th). The page displayed fine, but with no tooltips.
I took the code from the advanced help on amcharts (http://yoursite.com/help/charts_graphs/amcharts) that referred to $canvas->settings
and inserted it into the code from http://drupal.org/node/681928
This gave me what I needed - the balloon tips worked I got all excited :-)
But the bottom fell out of my world when I realised I didn't know how to apply this to a view.
I tried to insert the quoted code above as a PHP header to the view - but that didn't work. I've read about using hooks (like hook_views_pre_query(), or hook_views_pre_view() ) but don't know to apply these, (have watched a few tutorials on using hooks, but get confused.. :-( )
I'm using 6.20 with the as now latest versions of charts_graphs (6.x-2.7) and views_charts (6.x-1.1)
Can anyone point me in the right direction?
Thanks
Comment #3
rodrigotorrens commentedHi, capoyeti.
I followed your instructions and worked well for me too (tooltips in columns).
Has you or anybody else figured out how to insert this parameters into a view?
Thanks