Jump to content
Software FX Community

More Cold Fusion Problems: Image Generation and bad template code


User (Legacy)

Recommended Posts

I am trying to do forced image generation in cold fusion.  I took a template 

out of the wizard and changed the last line from:

<CFOUTPUT>#Chart1.GetHtmlTag(548,300,"Auto","Chart1")#</cfoutput>

to

<CFOUTPUT>#Chart1.GetHtmlTag(548,300,"Image","Chart1")#</cfoutput>

No matter what I do, it ignores the height and width and generates a 300x300

image.

Also, the template generator generated the following border setting property

which did not work:

<CFSET Chart1.BorderS = 6553613>

It produces a "Failed attempting to find "Borders" property/method on the

object". I removed the capital "S" at the end of BorderS and it seemed to

work fine.

In addition, even though the template wizard shows my chart legend at the

bottem of the chart, it did not generate the proper code to put it there.

Instead, it ends up at the side of the chart.

My greates concern right now is with the first problem, because I want to do

the image generation.

Chris Denslow

cdenslow@hgl.com

Link to comment
Share on other sites

I am trying to do forced image generation in cold fusion.  I took a template 

out of the wizard and changed the last line from:

<CFOUTPUT>#Chart1.GetHtmlTag(548,300,"Auto","Chart1")#</cfoutput>

to

<CFOUTPUT>#Chart1.GetHtmlTag(548,300,"Image","Chart1")#</cfoutput>

No matter what I do, it ignores the height and width and generates a 300x300

image.

Also, the template generator generated the following border setting property

which did not work:

<CFSET Chart1.BorderS = 6553613>

It produces a "Failed attempting to find "Borders" property/method on the

object". I removed the capital "S" at the end of BorderS and it seemed to

work fine.

In addition, even though the template wizard shows my chart legend at the

bottem of the chart, it did not generate the proper code to put it there.

Instead, it ends up at the side of the chart.

My greates concern right now is with the first problem, because I want to do

the image generation.

Chris Denslow

cdenslow@hgl.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...