Hide Count When Hovering Over Graph

By: Eric Gurry | Asked: 12/16/2022
ForumsCategory: How-toHide Count When Hovering Over Graph
Eric Gurry asked 1 year ago
I have a pie chart that is built via shortcode from the responses in a Formidable field.  The pie chart shows the percentage represented by each slice, which is great.  But if you hover over a slice, it shows you both the percentage and the count of that slice.  That is not great for this use-case.  I only want to display the percentage.  Is there a way to hide the count from the hover, or to kill the hover completely?  My shortcode is below, and I have attached a screenshot showing the current behavior when hovering. [frm-graph fields="212" type="pie" pie_hole=".4" title="" title_size="0" show_key="1" legend_position="bottom" height="600" width="100%" 397_contains="SUYT"]
Attachments
1 Answers
Bobby Clapp answered 1 year ago

It looks like that is what the following hook will do for you: https://formidableforms.com/knowledgebase/frm_google_chart/#kb-display-percentage-in-pie-graph

Eric Gurry replied 1 year ago

<p><p>BINGO!!!!! I just added a snippet with that code and it did exactly what I needed. Thanks a million! BTW, I have a couple of other graph formatting questions posted, if you're feeling generous 😉  Strange outcome though, given that the code refers to Google charts, whereas mine come straight from the Formidable shortcode.</p>

Victor Font replied 1 year ago

Formidable doesn't generate its own graphs. It creates its graphs with Google charts. There are alternative charting plugins that provide much greater flexibility than Google Charts. https://connect.formidableforms.com/question/category/plugins-that-rock/plugins-that-rock/

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right