Jump to content
Software FX Community

Re: ChartFX import method


User (Legacy)

Recommended Posts

We still get zero in the datafields...

I've attached the files in use:

test_import.asp - The simple asp-page we use

norden.txt - The file to be imported

cfxie.inc - The file from chartfx with constants

test_image.jpg - the screendump from the webserver

I tried to change the decimal-seperator from '.' to ',' in the data-file,

but the result was the same.

Maybe it is the include file (cfxie.inc) that is out of date?

Regards, Mala

--

"Justin Trask" <JustinT@softwarefx.com> wrote in message

news:RZezgwzUAHA.1808@sfxserver.softwarefx.com...

Hello,

We have not been able to reproduce this behavior. I have attached an

image of the chart we are able to produce with the data you have

provided. I have pasted the exact code used to produce this graph. If

you are still running into a problem after reviewing this code then

please send me a very simple asp page that reproduces the problem and we

will see why this is not working for you.

<!-- Include this file so we can use all the ChartFX constants -->

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

<%

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

' Server.MapPath receives a relative URL, typically it will point

to a virtual

' directory so that the folder is the same even if you use the

template

' in different web applications

sPhysical = Server.MapPath("import_text.txt")

' Response.Write "Using physical file:"+sPhysical+"<p>"

' Anything you do before the Import method will be overwriten by

the settings in the template

Chart.Import CHART_CFXOLEFILE,sPhysical

' Anything you do after the Import method will overwrite the

settings in the template

%>

<%= chart.GetHtmlTag("500","350","activex") %>

Justin Trask

Software FX

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.

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

From: Alexander N

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...