Dalexan
asked on
Send FLOT chart in an email
I have a PHP app that is called via cron to run through some tasks and generate an email. I would like to use the FLOT charting library and include some charts in this email. How do I get the charts out since the php is called via cron?
I think you might want to choose another strategy. Email clients typically will not run JavaScript at all -- too much security exposure. A better idea might be to put the FLOT JavaScript into a web page and send your clients a link to the web page.
ASKER
Is there a way to output the results to a file saving the chart as an image? I'm assuming since I'm running the php from the command line the JavaScript may not work?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.