|
|
@ -387,11 +387,14 @@ public class SearchJSUtils { |
|
|
|
if (chartCollection.getChart(i) instanceof VanChart) { |
|
|
|
if (chartCollection.getChart(i) instanceof VanChart) { |
|
|
|
VanChart chart = ((VanChart) chartCollection.getChart(i)); |
|
|
|
VanChart chart = ((VanChart) chartCollection.getChart(i)); |
|
|
|
if (chart.getPlot() != null) { |
|
|
|
if (chart.getPlot() != null) { |
|
|
|
NameJavaScriptGroup nameJavaScriptGroup = chart.getPlot().getHotHyperLink(); |
|
|
|
if (chart.getPlot() instanceof VanChartCustomPlot) { |
|
|
|
if (isNameJavaScriptGroupExist(nameJavaScriptGroup)) { |
|
|
|
VanChartCustomPlot plot = chart.getPlot(); |
|
|
|
for (int j = 0; j < nameJavaScriptGroup.size(); j++) { |
|
|
|
for (Plot customPlot : plot.getCustomPlotList()) { |
|
|
|
nameJavaScriptArrayList.add(nameJavaScriptGroup.getNameHyperlink(j)); |
|
|
|
getChartJavaScriptFromGroup(customPlot.getHotHyperLink(), nameJavaScriptArrayList); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
NameJavaScriptGroup nameJavaScriptGroup = chart.getPlot().getHotHyperLink(); |
|
|
|
|
|
|
|
getChartJavaScriptFromGroup(nameJavaScriptGroup, nameJavaScriptArrayList); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -399,6 +402,14 @@ public class SearchJSUtils { |
|
|
|
return nameJavaScriptArrayList; |
|
|
|
return nameJavaScriptArrayList; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static void getChartJavaScriptFromGroup(NameJavaScriptGroup nameJavaScriptGroup, ArrayList<NameJavaScript> nameJavaScriptArrayList) { |
|
|
|
|
|
|
|
if (isNameJavaScriptGroupExist(nameJavaScriptGroup)) { |
|
|
|
|
|
|
|
for (int j = 0; j < nameJavaScriptGroup.size(); j++) { |
|
|
|
|
|
|
|
nameJavaScriptArrayList.add(nameJavaScriptGroup.getNameHyperlink(j)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 处理图表的交互属性(可能存在多种地图) |
|
|
|
* 处理图表的交互属性(可能存在多种地图) |
|
|
|
* @param content 存储信息的数据结构 |
|
|
|
* @param content 存储信息的数据结构 |
|
|
|