Jump to content
Software FX Community

RE: Image Generation problem. Red-cross on IE/Broken image on NS


Software FX

Recommended Posts

Hello,

Please check out this article on our support site that gives some helpful hits on how to overcome this problem.

http://support.softwarefx.com/kb/146/1/008.htm'>http://support.softwarefx.com/kb/146/1/008.htm

IMPORTANT NOTE:

In an effort to provide the most advanced solutions in conjunction with

the most comprehensive technical support structure, Software FX will

implement a Paid-Support Program beginning January 1, 2001 for all

existing and future Software FX application users. The specific details

of the Paid-Support Program will be released in an upcoming broadcast

e-mail, as well as on our website. Please be aware that the online

technical support web site at http://support.softwarefx.com will continue

to be available without charge.

Justin Trask

Software FX

Please reply to: cfxie@softwarefx.com

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

From: Narayan S.T. [mailto:narayan.raost@otis.com]

Posted At: Friday, January 05, 2001 4:24 PM

Posted To: Server

Conversation: Image Generation problem. Red-cross on IE/Broken image on

NS

Subject: Image Generation problem. Red-cross on IE/Broken image on NS

Hi,

We are generating images using Chart-FX IE 2000 server in ASP pages. On the

browser, it shows red-cross on IE and broken image on NS and we have to

right click and click on 'Show Image' to view image.

I have downloaded the latest service pack and installed on the server. But

the problem still persists. Please give me a solution at the earliest.

I have attached the screen shot and following is the code that generates

this image.

Thanks

Narayan

------------------------------------------------

set oAvaChart = Server.CreateObject("ChartFX.WebServer")

oAvaChart.OpenDataEx COD_VALUES, 1, iElements

nLegendCount = 0

iMax = CInt(iBatch*8 + iElements - 1) 'Array count of last unit to be

shown in the graph.

for cAvaCount = iBatch*8 to iMax

oAvaChart.ValueEx(0, nLegendCount) = aTime(cAvaCount)

oAvaChart.Legend(nLegendCount) = aUnitID(cAvaCount)

nLegendCount = nLegendCount + 1

next

oAvaChart.CloseData COD_VALUES

' General Settings

oAvaChart.Gallery = BAR

oAvaChart.RGBBk = &H1000000&

oAvaChart.RGB3DBk = &H100000C&

oAvaChart.Border = false

oAvaChart.BorderStyle = BBS_NONE

oAvaChart.Chart3D = true

oAvaChart.AxesStyle = CAS_MATH

oAvaChart.TopFont.Name = "Arial"

oAvaChart.TopFont.Weight = 700

oAvaChart.TopFont.Size = 9.75

oAvaChart.AllowDrag = false

oAvaChart.AllowResize = false

oAvaChart.AllowEdit = false

oAvaChart.ImgWidth = "350"

oAvaChart.Style = &HF77FFFFE&

oAvaChart.View3DDepth = 23

oAvaChart.View3DLight = 2 'Realistic Lights

' Axis Settings

oAvaChart.Axis(AXIS_Y).Title = AVA_CHART_YNAME

oAvaChart.Axis(AXIS_X).Title = AVA_CHART_XNAME

oAvaChart.Axis(AXIS_X).LabelAngle = 90

oAvaChart.Axis(AXIS_Y).TickMark = TS_NONE

oAvaChart.Axis(AXIS_Y).MinorTickMark = TS_NONE

'oAvaChart.Axis(AXIS_Y).Format = "##.#"

if iElements = 1 then

oAvaChart.volume = 10

else

oAvaChart.volume = 10 + (iElements * 5)

end if

oAvaChart.Axis(AXIS_Y).Min = 0

oAvaChart.Axis(AXIS_Y).Step = 10

oAvaChart.Axis(AXIS_Y).LabelValue = 10

oAvaChart.Axis(AXIS_Y).Max = 100

for cAvaPlaceCount = 0 to 10

oAvaChart.Axis(AXIS_Y).Label(cAvaPlaceCount) = ""

next

oAvaChart.PointLabels = true

oAvaChart.PointLabelsFont.Size = 8

oAvaChart.PointLabelsFont.Bold = true

oAvaChart.PointLabelAlign = LA_CENTER or LA_BOTTOM

'Distance between the Y axis label and the chart

oAvaChart.LeftGap = 20

'Color Settings

oAvaChart.Palette = "Excel"

oAvaChart.OpenDataEx COD_COLORS,2,0

oAvaChart.Color(0) = &H1000065&

oAvaChart.Color(1) = &H1000067&

oAvaChart.CloseData COD_COLORS

%>

<TABLE BORDER="0" WIDTH="550" CELLSPACING="0" CELLPADDING="0">

<TR>

<TD>

<FONT FACE="VERDANA, GENEVA, ARIAL, SANS SERIF" SIZE="-1">

<TABLE BORDER="0" WIDTH="550" CELLSPACING="0" CELLPADDING="0">

<FORM NAME="frmAvailability">

<% if (fAvailability = true) then %>

<TR>

<TD ALIGN="CENTER" COLSPAN="2" CLASS="title">

<FONT FACE="ARIAL">

<%= sBldName %>

</FONT>

<%= oAvaChart.GetHtmlTag("350", "300","Image") %>

</TD>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...