CFChart "URL" option behaves different from CF

#1

In the process of shifting an application from CF to Lucee, I stumbled on this:

In Coldfusion, the CFChart “URL” parameter could be filled with an URL but also with a Javascript function call. I used that to fill a form on the page with the current values and send the page again, to display more details, like this:
url=“javascript:details(’$ITEMLABEL$’,’$VALUE$’,’$SERIESLABEL$’)”

Lucee always appends the current values to the URL, like this:
javascript:details(‘14%3A30±+14%3A35’,‘1.42’,‘ARD’)?series=ARD&category=14%3A30±+14%3A35&value=1.42

Of course this is no longer valid Javascript code so it won’t run.

Can anyone think of a workaround? (except using other chart engines altogether?)

-Michael