CF United 2008 Presentation Files
Here are the presentation files and sample flex apps from my presentation on "Charting with CF and Flex" on Friday June 20, 2008.
RIA328_Charting_with_CF_and_Flex.zip (5.5M)
|
|||||
| Andrew Schwabe's Blog : charting |
CF United 2008 Presentation FilesHere are the presentation files and sample flex apps from my presentation on "Charting with CF and Flex" on Friday June 20, 2008. Google Chart API
![]() Using JFreeChart with ColdFusionThis was originally posted in Christian Cantrell's blog. Well, your post just helped me figure out a long time nagging problem. I have been working on a CF wrapper for JFreeChart to generate on-the-fly charts, and have been stumped with corrupted output, until I saw your fix about the double getResponse() method calls. With that change, all works great! For those who don't understand WHY you might need to do this, here is sampe code that creates a bar chart on-the-fly (no caching on the file system) and outputs directly to the browser a JPEG image (or a PNG with incredible quality!): <!--- first generate some data ---> <!--- create the chart objects ---> <!--- create our chart ---> <!--- MAGICALLY get the correct response object... ---> <!--- write chart directly to output stream ---> response.flush(); If anybody else needs help with the above code, email me. cheers |
|