Link to home
Start Free TrialLog in
Avatar of Dalexan
DalexanFlag for Afghanistan

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?
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

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.
Avatar of Dalexan

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
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial