This content has been marked as final. Show 5 replies
There are a couple of dynamic variables, which you can put in the URL.
$ITEMLABEL$ - the label of the item
$VALUE$ - the value of the item.
You could use this:
<cfchart title="MyTitle" chartwidth="#graphWidth#" url="xyz.cfm?action=drillDownDeeper&label=$ITEMLABEL$" pieslicestyle="sliced" showborder="Yes" show3d="Yes">
Above, we expect of course that your itemlabels are unique - and judging from your chart style, they are. Just modify your xyz.cfm to deal with the item labels instead of the row numbers. Hope this helped.
Thank you, but I have to have the CurrentRow variable.
In that case, I have an interesting idea, which just might work ... at least if I add "Well, this might be a longshot, but..." (which always makes all crazy ideas work in tv series)...
Then, have a chart like:
Third, have your myWickedFunction() search for the item label, returning the rownumber, and automatically redirecting the current window (or the desired frame) where you want.
That is a good idea, although I cannot guarantee that the data for ItemLabel is unique. The data as a whole is a mess, so we're forced to pass a unique row number.
I can access the java class that drives the CFCHART tag, but I cannot locate a method or command that would give me the current row number. I'm stumped.
Getting weird already? ;-)