>Are you perhaps re-JSONing JSON? I noticed you did not pass >returnformat=json to your CFC. How are you handling that?
My cffunction tag is:
<cffunction name="get_allLRrespByMonth" access="remote" returntype="any"
returnformat="json">
Then in my function after my query...
<cfsavecontent variable="graphData">
'{' +
'"show-progress":false,' +
'"graphset":[' +
'{' +
'"type": "mixed",' +
'"title":{' +
'"text":"LR Response Status - Last 6mo",' +
'"background-color": "#578FD5"' +
'},' +
'"plot":{' +
'"tooltip-text":"%v"
+ " DRLs Reviewed"' +
'},' +
'"scale-x":{' +
'"values":[<cfoutput>#ValueList(get_allLRrespByMonth.chartDates)#</cfoutput>]' +
'},' +
'"legend" : {' +
'"margin-top":40' +
'},' +
'"series":[' +
'{' +
'"type" :
"bar3d",' +
'"values":[<cfoutput>#ValueList(get_allLRrespByMonth.allDrl)#</cfoutput>],' +
'"text":"LR Responses"' +
'}' +
']}]}'
</cfsavecontent>
<cfreturn graphData/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354809
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

