CFChart is not working!

It is working on some sites and not on others, it looks like a major mapping issue, I can not say how it would quit like this, but it does look like theonly way to fix it would be to remove all IIS connectors, and recreate, this will take some time, and is not something we can do at any moment.
 
so you mean to say that we just let our business suffer losses?

you see our clients pay us basically using the graphs (cfchart) that are being produced from the data gathered.

Please provide a new server if the existing server of cf has a problem , we need an immediate action

thanks :(
 
We have announced maintenance on Friday to fix this issue but I'll talk to stephen and try having this done ASAP
 
Code:
<cfchart format=jpg showborder="yes"
chartheight="300" chartwidth="400"
yaxistitle="Projected Population (Millions)" xaxistitle="Year" name="pfgraph">
<cfchartseries type="line" serieslabel="United States">
<cfchartdata item="2005" value="290">
 <cfchartdata item="2010" value="310">
<cfchartdata item="2015" value="325">
 <cfchartdata item="2020" value="350">
<cfchartdata item="2025" value="380">
<cfchartdata item="2030" value="410">
 <cfchartdata item="2035" value="450">
<cfchartdata item="2040" value="500">
<cfchartdata item="2045" value="525">
<cfchartdata item="2050" value="550">
</cfchartseries>
</cfchart>
<cffile
                    action="write"
                    charset="ISO-8859-1"
                    file="#expandpath('test.jpg')#"
                    output="#pfgraph#"
                    addnewline="yes">
                    <cfoutput><img src="test.jpg"></cfoutput>

Can you try a similiar implementation in your codes.
 
your code is working but may codes are lot different

<cfchart format="flash" showXGridlines="yes"
showYGridlines="yes"
foregroundColor="black"
showBorder="yes"
xAxisTitle="Week No."
yAxisTitle="Offtake Sales"
show3D="no"
font="Arial"
fontSize="10"
fontBold="yes"
fontItalic="no"
rotated="no"
tipStyle="MouseOver"
dataBackgroundColor = "FFFFFF"
showlegend = "yes"
seriesplacement="cluster"
showMarkers = "yes"
markerSize = "5" chartheight="450" chartwidth="650">

<cfif rsOfftakePerWeek.recordcount gt 0>

<cfchartseries type="line" query="rsOfftakeTotal" valuecolumn="off_take" serieslabel="Total Offtake"
itemcolumn="week_no" paintstyle="shade" markerstyle="letterx" seriescolor="000000">

<cfchartseries type="line" query="rsMAT" valuecolumn="off_take" serieslabel="Total MAT"
itemcolumn="week_no" paintstyle="shade" markerstyle="letterx" seriescolor="FF0000">

<cfloop query="rs">
<cfquery name="Temp1" dbtype="query">
select sku_id, sku, week_no, off_take
from rsOfftakePerWeek
where sku_id = #sku_id#
</cfquery>

<cfif Temp1.recordcount gt 0>
<cfchartseries type="line" query="Temp1" valuecolumn="off_take" serieslabel="#sku#"
itemcolumn="week_no" paintstyle="shade" markerstyle="letterx">
</cfif>
</cfloop>
<cfelse>
<cfchartseries type="scatter"><cfchartdata item="NODATA" value="0"></cfchartseries>
</cfif>
</cfchart>


this is a sample chart that i have , can you try to use flash instead of jpeg because we need flash format

this code is working of in our test server using cfm 6.1 server
and its working in jodo host for almost 6 months until the error shows 3 weeks ago

also i dont use cffile to create a file for the chart for us its faster since we have dynamic filter for period from week 1 to 52
 
reinrev said:
...
can you try to use flash instead of jpeg because we need flash format

this code is working of in our test server using cfm 6.1 server
and its working in jodo host for almost 6 months until the error shows 3 weeks ago

also i dont use cffile to create a file for the chart for us its faster since we have dynamic filter for period from week 1 to 52

Same same same :(
 
its not ok to use cffile to produce the chart, the picture needs to be refresh every time specially if its dynamic and lots of filter on it


hey trust me its not the same, i have more complex code than a simple cfchart and cffile.


is there a possibility to transfer my cfm codes to different server where cfchart dont have problems?
 
reinrev,

I have done everything Macromedia recommended, everything every third party recommended, including removing all Cf connectors and then recreating, and it is still not working, and no one has any idea what else to do. I will see what I can do for moving you, give me 24 hours.
 
Back
Top