Answered
saving cfchart output for use in static site
I need to generate a small static website comprised of graphs
(generated with cfchart). The content for the pages will only
update every couple of months when we get new data, so I'd like to
setup a coldfusion page that I can run every time we get new data.
For the moment the site has to be static (long story).
This is pretty straightforward using cfsavecontent and cffile="write" (and looping over some queries) with one exception. What I cannot figure out how to do is to can the charts WITH the tips that display the values of points on the graph on mouseover.
So my question is: is there a way to do this with the Tips?
I can of course run cfchart with the name parameter and then write the chart to a file, and that works, but then I don't have the tips. If I try to generate the chart with tips (and save the code using cfsavecontent), then the tips reference a temporary cached version of the chart image file and I don't see anyway to control what image file they reference.
Any thoughts?
This is pretty straightforward using cfsavecontent and cffile="write" (and looping over some queries) with one exception. What I cannot figure out how to do is to can the charts WITH the tips that display the values of points on the graph on mouseover.
So my question is: is there a way to do this with the Tips?
I can of course run cfchart with the name parameter and then write the chart to a file, and that works, but then I don't have the tips. If I try to generate the chart with tips (and save the code using cfsavecontent), then the tips reference a temporary cached version of the chart image file and I don't see anyway to control what image file they reference.
Any thoughts?
