Jump to content
Software FX Community

RE: ChartFX import method

Software FX

Recommended Posts


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


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


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

  • Create New...