Soft sail Report (finereport) radar chart detailed drill point dialog box shows the current page

Add the parameter column, quarter drop-down box control named jd

Adding radar chart

Edit → Effects → Add JavaScript

Parameters: wd values: the category name # fetch radar chart clicked point

Parameters: Value JD: Equation $ jd # take parameters selected parameter dropdown

 

 JavaScript Details:

var iframe = $ ( "<iframe ID = '001' name = '001' width = '100%' height = '100%' scrolling = 'Yes' frameborder = '0'>") // named parameter and iframe Higher wide 
IF (WD == 'latitude 1') {     // Analyzing the click point, the pop-up box according to the selected detailed latitude 
    iframe.attr ( "src", "report ? viewlet = / test / detail 1.cpt & op = View & JD = "+ JD +" " ) 
} the else  IF (WD == 'latitude 2' ) { 
    iframe.attr ( " the src "," Report? Viewlet = / Test / detail 2.cpt & op = view & jd = "+ jd +" " ) 
} the else  IF (WD == 'latitude. 3' ) { 
    iframe.attr ( " the src ","report?viewlet=/test/明细3.cpt&op=view&jd=" + jd + "")
} else if (wd == '纬度4') {
    iframe.attr("src", "report?viewlet=/test/明细4.cpt&op=view&jd=" + jd + "")
} else if (wd == '纬度5') {
    iframe.attr("src", "report?viewlet=/test/明细5.cpt&op=view&jd=" + jd + "")
} else if (wd == '纬度6') {
    iframe.attr("src", "report?viewlet=/test/明细6.cpt&op=view&jd=" + jd + "")
} else if (wd == '纬度7') {
    iframe.attr("src", "report?viewlet=/test/明细7.cpt&op=view&jd=" + jd + "")
} else if (wd == '纬度8') { 
    Iframe.attr ( "the src", "Report? = Viewlet / Test / OP = & View detail & 8.cpt JD =" + JD + "" ) 
} the else  IF (WD == 'latitude. 9' ) { 
    iframe.attr ( " src "," report viewlet = / test / detail 9.cpt & OP = View & JD = "+ JD +" "? ) 
} 
var O = { 
    title: WD,     // dialog title (here taken radar chart latitude masterpiece popup title) 
    width: 1265,   // width 
    height: 370   // high 
} 
FR.showDialog (o.title, o.width, o.height, iframes, O) // dialog box

 

Preview: 

Guess you like

Origin www.cnblogs.com/Williamls/p/11227401.html