Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
TO GET CHART BY CHECK BOX
Migrateduser
HI SIR...<br />
<br />
<br />
am struggling in a report with chart to get value for different option with check box<br />
<br />
am having 4 check box <br />
1)ALL<br />
2)A<br />
3)B<br />
4)c<br />
<br />
if i click <strong class='bbc'>All</strong> i have to show a full chart <br />
<br />
if i click <strong class='bbc'>A</strong> i want to show A only <br />
<br />
like wise i have to create <br />
<br />
<strong class='bbc'>i have followed a html code below but its not working<br />
</strong><br />
<br />
<form name="input" onSubmit="return reloadPage();"><br />
<br />
<script type="text/javascript"><br />
<br />
<br />
function reloadPage() {<br />
//alert("Reload time");<br />
var temp = new String(location.href);<br />
var targetURL = new String();<br />
<br />
if(temp.indexOf("__overwrite=") != -1 ){<br />
targetURL = temp.substring(0, temp.indexOf("&__overwrite") -1);<br />
}else{<br />
targetURL = temp;<br />
}<br />
<br />
targetURL += "&__overwrite=true";<br />
targetURL += "&hideOfficeCodeLabel=" + document.cbform.mycheckbox.checked;<br />
targetURL += "&hideCityLabel=" + document.cbform2.mycheckbox.checked;<br />
targetURL += "&hideStateLabel=" + document.cbform3.mycheckbox.checked;<br />
targetURL += "&hideCountryLabel=" + document.cbform4.mycheckbox.checked;<br />
<br />
<br />
<br />
<br />
//alert( targetURL ); <br />
location.replace(targetURL);<br />
<br />
return false;<br />
}<br />
// Move below script<br />
//<table width=100%><br />
// <tr><br />
// <td colspan=2><input type="button" value="Apply Changes" onEnter = "reloadPage()" //onclick="reloadPage()"></td><br />
// </tr><br />
//</table><br />
timer=setTimeout('reloadPage()', 5000);<br />
</script><br />
<br />
<br />
<br />
</form><br />
<br />
<br />
to checkbox:<br />
<form name="cbform"><br />
<INPUT TYPE=CHECKBOX NAME="mycheckbox" <VALUE-OF>if( params["hideOfficeCodeLabel"].value){<br />
"checked";<br />
}else{<br />
"";<br />
}</VALUE-OF>>Hide Office Code</INPUT><br />
</form><br />
<br />
<br />
so can u give idea to do that ? and then give sample report according to my query
Find more posts tagged with
Comments
There are no comments yet