Overview
Problem
Word cloud is mostly used to search keywords and display the heat ranking. You can add links to the keywords in the word cloud, where you can click to jump to the corresponding search pages, to make the function of the word cloud more complete.
For example, in the word cloud, you can click a keyword to jump to the Google search term page, as shown in the following figure.
Solution
Configure Google search URLs under Special Effect > Interaction > Hyperlink to search by passing words from a word cloud as parameters.
Example
Template Preparation
Open the template under the path %FR_HOME%\webapps\webroot\WEB-INF\reportlets\doc\Chart\WordCloud\WordCloud.cpt, as shown in the following figure.
Style Setting
Add a hyperlink under Special Effect > Interaction > Hyperlink, add wd as Parameter and World_Name as Value, as shown in the following figure.
Java codes are as follows:
window.open("https://www.google.com/search?q="+wd);

Preview Effect
PC
Save the template and click Pagination Preview. The following figure shows the effect.
Mobile Terminal
Template Download
Click to download the template Auto Search by Clicking Keywords in Word Cloud.cpt