Jump to content
Software FX Community

CFX IE starts generating black images

User (Legacy)

Recommended Posts

I've got an ASP web page where I'm generating a lot of charts as images. I'm

using the Export method so that I can control the filename they are

generated to. I'm assigning values to the chart using ValueEx and also using

annotation objects to customize the charts a bit.

When it gets up to around 60 charts, ChartFX starts generating garbage -

chart files that are mostly black with a few colored lines in them. In my

production code, I check to see if the chart exists before regenerating it -

so if I leave the good charts and run it again, it finally generates the

remaining 20-30 charts with no problem.

Here is some code that generates charts similar to what I'm doing...





<!-- #include virtual="Include/CfxIE.inc" -->



Set myChart = Server.CreateObject("ChartFX.WebServer")

with myChart

.Gallery = GANTT

.Chart3D = True

.Stacked = CHART_STACKED100



.Export CHART_IMAGE, "C:\Inetpub\wwwroot\OEAReports2002\Test.gif"

end with

set myChart = nothing


<img src='test.gif'>



Thanks -



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...