Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By soezkan on
Hi Forum,
desperately trying to get charts working for webform results.
When I visit node/[node-id]/webform-results/analysis I just see numbers, and don't know how to integrate the charts-module (which I installed and activated).
It says I have to create a view, in order to display webform results (in my case the results of a survey).
1. I don't know how to make a webform-results-view put out as for example pie-chart?
2. How do I integrate such a view here: node/[node-id]/webform-results/analysis
Couldn't find a tutorial on that, that really helped. Sigh.
Please help!
Many thanks
Soezkan
Comments
Tried
Have you tried https://www.drupal.org/project/webform_chart
Seems to do what you want. Can't say I've used it.
Peter J Lord
http://peterjlord.co.uk
tried that module too, in
tried that module too, in hope getting to where I want, but when I looked at the results of the webform, everything the same.
There has to be created a view before. But how, but how? Certain relationships have to be set in that view, but which, but which?
Thanks
Soezkan
I'd say that's the module to
I'd say that's the module to use. I'd say you need to use a contextual filter of the nid (Node Id) and may need a relationship to the webform results.
There's a good slightly dated series here https://wunderkraut.se/blogg/taming-beast-learn-views-wunderkraut
It's worth learning views as it's an important module and similar in drupal 8 so no a waste of time
Peter J Lord
http://peterjlord.co.uk
Thanks Peter. It was rather,
Thanks Peter. It was rather, that I thought: I install the chart module and all good. But can't manage to solve it by myself for now. Maybe there will be another contributor who will solve this in future I hope. If there were a particular video-tutorial to do exactly that, it'd made me happy.
Thanks again.