Tooltips

Tooltips

After a feature request of a kind user, we were asked to be able to parameterize the tooltip text, in order to show the count of entries of the current type, or the ratio (%) of this item among others. Else show both.

This is done with the tooltip_style parameter :

  • SUM displays total count of answers
  • PERCENT the % ratio among all answers
  • BOTH displays both 🙂

Only SUM

[gfchartsreports tooltip_style="SUM" color_rand="true" color_set="red" include="5" width="47%" type="horizontalBar"]

Only PERCENT

[gfchartsreports tooltip_style="PERCENT" color_set="green" color_rand="true" include="5" width="47%" type="horizontalBar"]

BOTH

[gfchartsreports tooltip_style="BOTH" color_set="orange" color_rand="true" include="5" width="47%" type="horizontalBar"]

About The Author

Leave Comment