Question
Sending a chart via email
Hi,
Would anyone know if it is possible to generate a cfchart in an email? I tried and it would not show in the email. I tried with gmail and with MS Outlook.
Below id the code I used:
<cfmail to="abc@abc.com" from="abc@abc.com" subject="chart test" type="HTML">
email start
<cfchart
xAxisTitle="Day"
yAxisTitle="Visitors"
font="Arial"
gridlines=6
showXGridlines="yes"
showYGridlines="yes"
showborder="yes"
show3d="yes"
chartHeight = "500"
chartWidth = "700"
XAxisType="date"
>
<cfchartseries type="bar" seriesColor="red" paintStyle="plain">
<cfchartdata item="1" value="100">
<cfchartdata item="2" value="200">
<cfchartdata item="3" value="300">
<cfchartdata item="4" value="250">
</cfchartseries>
</cfchart>
email end
</cfmail>
Would anyone know if it is possible to generate a cfchart in an email? I tried and it would not show in the email. I tried with gmail and with MS Outlook.
Below id the code I used:
<cfmail to="abc@abc.com" from="abc@abc.com" subject="chart test" type="HTML">
email start
<cfchart
xAxisTitle="Day"
yAxisTitle="Visitors"
font="Arial"
gridlines=6
showXGridlines="yes"
showYGridlines="yes"
showborder="yes"
show3d="yes"
chartHeight = "500"
chartWidth = "700"
XAxisType="date"
>
<cfchartseries type="bar" seriesColor="red" paintStyle="plain">
<cfchartdata item="1" value="100">
<cfchartdata item="2" value="200">
<cfchartdata item="3" value="300">
<cfchartdata item="4" value="250">
</cfchartseries>
</cfchart>
email end
</cfmail>