User (Legacy) Posted December 11, 2002 Report Share Posted December 11, 2002 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... <HTML> <HEAD> </HEAD> <BODY> <!-- #include virtual="Include/CfxIE.inc" --> <br> <% Set myChart = Server.CreateObject("ChartFX.WebServer") with myChart .Gallery = GANTT .Chart3D = True .Stacked = CHART_STACKED100 .ImgWidth=500 .ImgHeight=350 .Export CHART_IMAGE, "C:\Inetpub\wwwroot\OEAReports2002\Test.gif" end with set myChart = nothing %> <img src='test.gif'> </BODY> </HTML> Thanks - Jim just_jt@hotmail.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.