Jump to content
Software FX Community

RE: Netscape 5.0 broken image tag


Software FX

Recommended Posts

Hello,

First I would download the latest service pack for ChartFX IE 2000 from our support site. From what I can guess from your email you are not getting this result yourself since you said some of your users are reporting this problem. Can you find out the HTTP_USER_AGENT for these individuals who are experiencing the problem? Could you also send me the html that gets sent to the client along with the a sample chart image that demonstrates the broken image problem.

Justin Trask

Software FX

-----Original Message-----

From: Bill Brockschmidt [mailto:bill@sligowebworks.com]

Posted At: Thursday, October 26, 2000 10:35 AM

Posted To: Server

Conversation: Netscape 5.0 broken image tag

Subject: Netscape 5.0 broken image tag

We have an ASP application for which several users have reported a broken

image tag for the graphs with Netscape 5.0 browsers after we installed the

service pack to bring the CfxIESvr.dll to version 4.5.18.0. We are using

CFX IE 2000.

They report that right clicking and selecting "view image", they could see

the graphs. Also using the back button the graphs appeared on their

screen. But moving to another page they got the broken image again in place

of the graph.

I downloaded the cfxchecker zip and ran the asp on our staging server. It

says that we do not have sfximgsky.dll installed and I do not see this file

anywhere on our hard drive. Is this a needed file which could cause this

issue? How do I get it, if so?

I am including some relevant code that we use to generate a graph so that

you can see what I am doing. Any ideas of what this bug could be?

Thanks,

Bill Brockschmidt

Pseudo code from our :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--#include file="CfxIE.inc" -->

<!--#include file="adovbs.inc"-->

<!--#include file="functions.inc"-->

<%' above is sligo common functions - always needed%>

<!--#include file="connopen.inc"-->

<%' above is database connection open file

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

' not a real sql statement below here - just an example

SQL = " Select Year, Data from mydatatable where key = mykey"

Set ThisSchoolRS = Server.CreateObject("ADODB.Recordset")

ThisSchoolRS.Open SQL, Conn, 1, 3

IF not ThisSchoolRS.EOF THEN

' there is some data for this school

Chart.Stacked = CHART_STACKED

Chart.View3DDepth = 10

Chart.Axis(AXIS_Y).Min = 0

Chart.Axis(AXIS_Y).Max = 100

Chart.Axis(AXIS_Y).Decimals = 0

Chart.Axis(AXIS_Y).Grid = TRUE

Chart.RgbBk = RGB(255,255,255)

' Open the communication channel for 1 colors

Chart.OpenDataEx COD_COLORS,1,0

' Set the colors

Chart.Color(0) = RGB(128,128,255)

' Close channel

Chart.CloseData COD_COLORS

Chart.Chart3D = False

Chart.Axis(AXIS_Y).Title = ""

Chart.SerLegBox = TRUE

Chart.SerLegBoxObj.Docked = TGFP_BOTTOM

Chart.SerLeg(0) = "Advanced"

Chart.Fonts(CHART_TOPFT) = CF_BOLD Or 10

Chart.OpenDataEx COD_VALUES, 1, 1

Chart.Title(CHART_TOPTIT) = "TITLE HERE"

Chart.ValueEx(0, 1) = ThisSchoolRS("Data ")

Chart.CloseData COD_VALUES

ELSE

nodata = true

END IF

ThisSchoolRS.close

Set ThisSchoolRS= nothing

%>

<HTML>

<HEAD>

<TITLE><%=zTitle%></TITLE>

</HEAD>

<BODY alink="Fuchsia" link="Fuchsia" vlink="Fuchsia" bgcolor="White">

<%= chart.GetHtmlTag(460,350,"IMAGE") %>

<%

conn.close

Set conn = nothing

' close and release the Database connection

' Always remember to close and release any recordsets inside the graph

includes

Set Chart = nothing

' release instance of the graph object

%>

<br> 

</BODY>

</HTML>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...