Dynamic hyperlink on bar chart series [message #548687] |
Thu, 22 July 2010 16:16 |
Eclipse User |
|
|
|
Originally posted by: remkus.wideopenwest.com
I have a report that contains a bar chart. The bar chart series will
have a drill-through to another report.
I'd like to be able to change the report that the interactivity
drills-through based on a report parameter, but I'm a bit confused on
how to access/change the drill-through on a chart series in a script.
Can it be done? Any suggestions?
Thanks
|
|
|
Re: Dynamic hyperlink on bar chart series [message #548721 is a reply to message #548687] |
Thu, 22 July 2010 18:03 |
|
Dave,
For chart drill through (Which is stored in the design differently than
a normal drill through) you could do something like:
function beforeDrawSeries( series, isr, icsc )
{
triglen = series.getTriggers().size();
if( triglen >0 ){
mytarget =
series.getTriggers().get(0).getAction().getValue().getURLVal ues(
).get(0).getBaseUrl();
newtarget = mytarget.replace("reporttarget1.rptdesign",
"reporttarget2.rptdesign");
series.getTriggers().get(0).getAction().getValue().getURLVal ues(
).get(0).setBaseUrl(newtarget);
}
}
Jason
On 7/22/2010 12:16 PM, Dave Remkus wrote:
> I have a report that contains a bar chart. The bar chart series will
> have a drill-through to another report.
>
> I'd like to be able to change the report that the interactivity
> drills-through based on a report parameter, but I'm a bit confused on
> how to access/change the drill-through on a chart series in a script.
>
> Can it be done? Any suggestions?
>
> Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.02996 seconds