Hi,
I want to download a chart which I created using cfchart to excel and save it to local machine. The problem I am experiencing is when I save it in local machine,image is getting expired. The code I used to download to excel is
[CODE=cfm]<cfif IsDefined("Exce llink")>
<cfheader name="Content-Disposition" value="filename =chart.xls">
<cfcontent type="applicati on/msexcel">
<cfchart
format = "jpg"
chartHeight = "300"
chartWidth = "500"
style = "mystyle.xm l"
showXGridlines = "no"
showYGridlines = "yes"
seriesPlacement = "default"
foregroundColor = "black"
dataBackgroundC olor = "white"
showBorder = "yes"
font = "arial"
fontSize = "10"
fontBold = "no"
fontItalic = "no"
labelFormat = "number"
xAxisTitle = "WEEK"
yAxisTitle = "ORDERS"
sortXAxis = "no"
show3D = "no"
rotated = "no"
showLegend = "yes"
tipStyle = "MouseOver"
showMarkers = "yes"
markerSize = "4" >
<cfchartserie s
type="line"
query="query1"
itemColumn="WEE K"
valueColumn="IT EMS"
seriesColor="7f ff00"
markerStyle="tr iangle"
seriesLabel="IT EMS">
</cfchartseries>
</cfchart>
</cfif>
[/CODE]Can anybody help me?
Thanks
Resmi
I want to download a chart which I created using cfchart to excel and save it to local machine. The problem I am experiencing is when I save it in local machine,image is getting expired. The code I used to download to excel is
[CODE=cfm]<cfif IsDefined("Exce llink")>
<cfheader name="Content-Disposition" value="filename =chart.xls">
<cfcontent type="applicati on/msexcel">
<cfchart
format = "jpg"
chartHeight = "300"
chartWidth = "500"
style = "mystyle.xm l"
showXGridlines = "no"
showYGridlines = "yes"
seriesPlacement = "default"
foregroundColor = "black"
dataBackgroundC olor = "white"
showBorder = "yes"
font = "arial"
fontSize = "10"
fontBold = "no"
fontItalic = "no"
labelFormat = "number"
xAxisTitle = "WEEK"
yAxisTitle = "ORDERS"
sortXAxis = "no"
show3D = "no"
rotated = "no"
showLegend = "yes"
tipStyle = "MouseOver"
showMarkers = "yes"
markerSize = "4" >
<cfchartserie s
type="line"
query="query1"
itemColumn="WEE K"
valueColumn="IT EMS"
seriesColor="7f ff00"
markerStyle="tr iangle"
seriesLabel="IT EMS">
</cfchartseries>
</cfchart>
</cfif>
[/CODE]Can anybody help me?
Thanks
Resmi
Comment