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"]
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
<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>
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/
Please login or Register to submit your answer