ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  occasionally the page header information is displayed on a generated chart
Posted by Tom Nunamaker on Oct-12-2014 06:14
Attachments:
Hi Peter,

I'm generating stock charts and for the most part, getChart.cfm is working fine.
Occasionally I'll get an image with "PUBLIC "-//W3C//DTD HTML 4.01//EN" "http..... at the
top. I've attached one of the bad images.

Do you have any idea how to fix this?

Thanks in advance from a long time customer!

Tom
getchartdemo.png

  Re: occasionally the page header information is displayed on a generated chart
Posted by Peter Kwan on Oct-14-2014 00:14
Hi Tom,

I see some text such as "<title>EXE: Summary for CURRENT ....". If the text is in the
chart title, it is likely the text is passed to ChartDirector from your code.

Is there a line of code that adds the title to the FinanceChart where the text is in a
variable, like:

c.addTitle(myTitle);

If the above is the case, I suspect the myTitle variable contains the page header
information, so they are displayed. To confirm if this is the case, please change the
above code to:

c.addTitle("ABC XYZ 123");

The chart should be changed to ABC XYZ 123, and the page header information should
not appear.

Another testing method is to use:

c.addTitle("ABC XYZ 123 " & myTitle, "Arial", 8);

With the above, there should be the text "ABC XYZ 123 " before your title. If the text
"ABC XYZ 123" occurs before the page header, it can confirm the page header is in the
myTitle variable.

Please kindly let me know what is the result.

Regards
Peter Kwan