Jump to content
Software FX Community

Creating a chart with HTML and modifying it further with ASP


User (Legacy)

Recommended Posts

Hello!

A while back I am sure I saw an example somewhere of creating a chart with

HTML, setting some properties using the PARAM tag method, and others using

ASP. Has anyone else seen this or can point me in the right direction?

I am trying to produce a generic chart producing application. Using HTML's

PARAM tag is the best way to set up the parameters, but I want to place

information in the chart using ASP.

I saw a similar post ages ago by Paul Saxton, but did not look at it then

because I didi not need to. Now when I do, I find that his post has gone!!

My chart would be created with code like that below

<OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

TYPE="application/x-oleobject"

WIDTH="500" HEIGHT="350" ID="Chart1"

CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

<PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

<PARAM NAME="InLineData" VALUE="Series">

<PARAM NAME="S0" VALUE="20,40,50">

<PARAM NAME="S1" VALUE="10,8,7">

<PARAM NAME="Axis(1).Min" VALUE="-5">

<PARAM NAME="Axis(0).Min" VALUE="-5">

<PARAM NAME="Axis(2).Min" VALUE="-5">

</OBJECT>

How do I further modify Chart1 with ASP?

Cheers

Eric

Link to comment
Share on other sites

The chart will be on the client so you cannot "script" it with ASP, what you

could do is mix the PARAM tags with ASP code so that the ASP code generate

other PARAM tags when necessary. I personally think that if you are using

ASP it is easier to create the chart on the server and script it there, it

will be much easier to set properties at the server than to generate PARAM

tags for the client to consume, also by creating the chart at the server you

can switch to image generation (if needed).

We do not remove postings from our newsgroups, to get them back you may want

to try the following

- Right click the newsgroup and select "Properties" - "Local File"

- Click the reset button

- Click on a different newsgroup and then click the newsgroup, you may have

hit the headers button a couple of times because OE

will download 300 headers at a time.

In my machine this has always fixed this problem.

--

Regards

JC

Software FX Support

"Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

news:GykPrY1CCHA.1724@webserver1.softwarefx.com...

> Hello!

>

> A while back I am sure I saw an example somewhere of creating a chart with

> HTML, setting some properties using the PARAM tag method, and others using

> ASP. Has anyone else seen this or can point me in the right direction?

>

> I am trying to produce a generic chart producing application. Using

HTML's

> PARAM tag is the best way to set up the parameters, but I want to place

> information in the chart using ASP.

>

> I saw a similar post ages ago by Paul Saxton, but did not look at it then

> because I didi not need to. Now when I do, I find that his post has

gone!!

>

> My chart would be created with code like that below

>

> <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> TYPE="application/x-oleobject"

> WIDTH="500" HEIGHT="350" ID="Chart1"

> CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> <PARAM NAME="InLineData" VALUE="Series">

> <PARAM NAME="S0" VALUE="20,40,50">

> <PARAM NAME="S1" VALUE="10,8,7">

> <PARAM NAME="Axis(1).Min" VALUE="-5">

> <PARAM NAME="Axis(0).Min" VALUE="-5">

> <PARAM NAME="Axis(2).Min" VALUE="-5">

> </OBJECT>

>

> How do I further modify Chart1 with ASP?

>

> Cheers

>

> Eric

>

>

Link to comment
Share on other sites

Hello!

I have to use the param tags because different charts will have different

properties to set. I will still be generating the charts using ASP,

something like

FOR Each Property DO

Response.write("PROPERTY=""Title"" VALUE=""Title"")

Or whatever the syntax is.

I have found an example of doing something very similar to what I need to do

in your help file. However, it does not work

Supplying dynamic data using VBScript.

Chart FX can also receive the data to be charted using VBScript (or

JavaScript). You can use VBScript to supply the data as follows

<OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

TYPE="application/x-oleobject"

WIDTH="500" HEIGHT="350" ID="Chart1"

CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

<PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

</OBJECT>

<SCRIPT LANGUAGE="VBS">

SUB Window_OnLoad

Chart1.OpenDataEx 1,2,4

' First series (set of data)

Chart1.ThisSeries = 0

Chart1.Value(0) = 20.5

Chart1.Value(1) = 16

Chart1.Value(2) = 30

Chart1.Value(3) = 12.4

' First series (set of data)

Chart1.ThisSeries = 1

Chart1.Value(0) = 32

Chart1.Value(1) = 16.2

Chart1.Value(2) = 17

Chart1.Value(3) = 19

Chart1.CloseData 1

END SUB

</SCRIPT>

I pasted the code above into an empy file, and ran it. The data is not put

in the chart.

I have done as you suggested I can download see the headers for 2 posts he

made on the 13/04/2002 but Outlook Express says that the message is

unavailable on the server.

Please can you give me either a code snippet of creating a chart using the

HTML method above, <OBJECT.............> and providing data to the chart

using ASP, or a code snippet to illustrate your idea of mixing the PARAM

tags with ASP code

Cheers

Eric

"Software FX Support" <support@softwarefx.com> wrote in message

news:X8vVGV9CCHA.1724@webserver1.softwarefx.com...

> The chart will be on the client so you cannot "script" it with ASP, what

you

> could do is mix the PARAM tags with ASP code so that the ASP code generate

> other PARAM tags when necessary. I personally think that if you are using

> ASP it is easier to create the chart on the server and script it there, it

> will be much easier to set properties at the server than to generate PARAM

> tags for the client to consume, also by creating the chart at the server

you

> can switch to image generation (if needed).

>

> We do not remove postings from our newsgroups, to get them back you may

want

> to try the following

>

> - Right click the newsgroup and select "Properties" - "Local File"

> - Click the reset button

> - Click on a different newsgroup and then click the newsgroup, you may

have

> hit the headers button a couple of times because OE

> will download 300 headers at a time.

>

> In my machine this has always fixed this problem.

>

> --

> Regards

>

> JC

> Software FX Support

>

> "Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

> news:GykPrY1CCHA.1724@webserver1.softwarefx.com...

> > Hello!

> >

> > A while back I am sure I saw an example somewhere of creating a chart

with

> > HTML, setting some properties using the PARAM tag method, and others

using

> > ASP. Has anyone else seen this or can point me in the right direction?

> >

> > I am trying to produce a generic chart producing application. Using

> HTML's

> > PARAM tag is the best way to set up the parameters, but I want to place

> > information in the chart using ASP.

> >

> > I saw a similar post ages ago by Paul Saxton, but did not look at it

then

> > because I didi not need to. Now when I do, I find that his post has

> gone!!

> >

> > My chart would be created with code like that below

> >

> > <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> > TYPE="application/x-oleobject"

> > WIDTH="500" HEIGHT="350" ID="Chart1"

> > CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> > <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> > <PARAM NAME="InLineData" VALUE="Series">

> > <PARAM NAME="S0" VALUE="20,40,50">

> > <PARAM NAME="S1" VALUE="10,8,7">

> > <PARAM NAME="Axis(1).Min" VALUE="-5">

> > <PARAM NAME="Axis(0).Min" VALUE="-5">

> > <PARAM NAME="Axis(2).Min" VALUE="-5">

> > </OBJECT>

> >

> > How do I further modify Chart1 with ASP?

> >

> > Cheers

> >

> > Eric

> >

> >

>

>

Link to comment
Share on other sites

PLEASE reply!  My deadline is getting very close and the whole project is

dependant on being able to set properties of the chart using the PARAM tags

and supplying data using ASP or VBScript

"Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

news:4ZA$gM$CCHA.1724@webserver1.softwarefx.com...

> Hello!

>

> I have to use the param tags because different charts will have different

> properties to set. I will still be generating the charts using ASP,

> something like

>

> FOR Each Property DO

> Response.write("PROPERTY=""Title"" VALUE=""Title"")

>

> Or whatever the syntax is.

>

> I have found an example of doing something very similar to what I need to

do

> in your help file. However, it does not work

>

> Supplying dynamic data using VBScript.

> Chart FX can also receive the data to be charted using VBScript (or

> JavaScript). You can use VBScript to supply the data as follows

>

> <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> TYPE="application/x-oleobject"

> WIDTH="500" HEIGHT="350" ID="Chart1"

> CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> </OBJECT>

>

> <SCRIPT LANGUAGE="VBS">

> SUB Window_OnLoad

> Chart1.OpenDataEx 1,2,4

> ' First series (set of data)

> Chart1.ThisSeries = 0

> Chart1.Value(0) = 20.5

> Chart1.Value(1) = 16

> Chart1.Value(2) = 30

> Chart1.Value(3) = 12.4

>

> ' First series (set of data)

>

> Chart1.ThisSeries = 1

> Chart1.Value(0) = 32

> Chart1.Value(1) = 16.2

> Chart1.Value(2) = 17

> Chart1.Value(3) = 19

> Chart1.CloseData 1

> END SUB

> </SCRIPT>

>

> I pasted the code above into an empy file, and ran it. The data is not

put

> in the chart.

>

> I have done as you suggested I can download see the headers for 2 posts he

> made on the 13/04/2002 but Outlook Express says that the message is

> unavailable on the server.

>

> Please can you give me either a code snippet of creating a chart using the

> HTML method above, <OBJECT.............> and providing data to the chart

> using ASP, or a code snippet to illustrate your idea of mixing the PARAM

> tags with ASP code

>

> Cheers

>

> Eric

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:X8vVGV9CCHA.1724@webserver1.softwarefx.com...

> > The chart will be on the client so you cannot "script" it with ASP, what

> you

> > could do is mix the PARAM tags with ASP code so that the ASP code

generate

> > other PARAM tags when necessary. I personally think that if you are

using

> > ASP it is easier to create the chart on the server and script it there,

it

> > will be much easier to set properties at the server than to generate

PARAM

> > tags for the client to consume, also by creating the chart at the server

> you

> > can switch to image generation (if needed).

> >

> > We do not remove postings from our newsgroups, to get them back you may

> want

> > to try the following

> >

> > - Right click the newsgroup and select "Properties" - "Local File"

> > - Click the reset button

> > - Click on a different newsgroup and then click the newsgroup, you may

> have

> > hit the headers button a couple of times because OE

> > will download 300 headers at a time.

> >

> > In my machine this has always fixed this problem.

> >

> > --

> > Regards

> >

> > JC

> > Software FX Support

> >

> > "Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

> > news:GykPrY1CCHA.1724@webserver1.softwarefx.com...

> > > Hello!

> > >

> > > A while back I am sure I saw an example somewhere of creating a chart

> with

> > > HTML, setting some properties using the PARAM tag method, and others

> using

> > > ASP. Has anyone else seen this or can point me in the right

direction?

> > >

> > > I am trying to produce a generic chart producing application. Using

> > HTML's

> > > PARAM tag is the best way to set up the parameters, but I want to

place

> > > information in the chart using ASP.

> > >

> > > I saw a similar post ages ago by Paul Saxton, but did not look at it

> then

> > > because I didi not need to. Now when I do, I find that his post has

> > gone!!

> > >

> > > My chart would be created with code like that below

> > >

> > > <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> > > TYPE="application/x-oleobject"

> > > WIDTH="500" HEIGHT="350" ID="Chart1"

> > > CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> > > <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> > > <PARAM NAME="InLineData" VALUE="Series">

> > > <PARAM NAME="S0" VALUE="20,40,50">

> > > <PARAM NAME="S1" VALUE="10,8,7">

> > > <PARAM NAME="Axis(1).Min" VALUE="-5">

> > > <PARAM NAME="Axis(0).Min" VALUE="-5">

> > > <PARAM NAME="Axis(2).Min" VALUE="-5">

> > > </OBJECT>

> > >

> > > How do I further modify Chart1 with ASP?

> > >

> > > Cheers

> > >

> > > Eric

> > >

> > >

> >

> >

>

>

Attachments.zip

Link to comment
Share on other sites

>> I have to use the param tags because different charts will have different

properties to set.

I am not sure I understand that. You can have an ASP that does this

if (Something is true)

chart.Gallery = BAR

chart.OpenDataEx ...

else

chart.Gallery = LINES

chart.OpenDataEx

end if

Your code can generate different charts and all you have to do is use our

API.

The only reason we support PARAM tags is to support Unix (and other

Operating Sytems) where you cannot use our server component

Note that when you are saying ASP you really seem to be saying Client Code

since the code you posted does not have any ASP (server side) code.

I tested the following HTML page with Client Code and it worked fine

<HTML>

<OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

TYPE="application/x-oleobject"

WIDTH="500" HEIGHT="350" ID="Chart1"

CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

<PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

</OBJECT>

<SCRIPT LANGUAGE="VBS">

SUB Window_OnLoad

Chart1.OpenDataEx 1,2,4

' First series (set of data)

Chart1.ValueEx(0,0) = 20.5

Chart1.ValueEx(0,1) = 16

Chart1.ValueEx(0,2) = 30

Chart1.ValueEx(0,3) = 12.4

Chart1.ValueEx(1,0) = 32

Chart1.ValueEx(1,1) = 16.2

Chart1.ValueEx(1,2) = 17

Chart1.ValueEx(1,3) = 19

Chart1.CloseData 1

END SUB

</SCRIPT>

</HTML>

--

Regards

JC

Software FX Support

"Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

news:4ZA$gM$CCHA.1724@webserver1.softwarefx.com...

> Hello!

>

> I have to use the param tags because different charts will have different

> properties to set. I will still be generating the charts using ASP,

> something like

>

> FOR Each Property DO

> Response.write("PROPERTY=""Title"" VALUE=""Title"")

>

> Or whatever the syntax is.

>

> I have found an example of doing something very similar to what I need to

do

> in your help file. However, it does not work

>

> Supplying dynamic data using VBScript.

> Chart FX can also receive the data to be charted using VBScript (or

> JavaScript). You can use VBScript to supply the data as follows

>

> <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> TYPE="application/x-oleobject"

> WIDTH="500" HEIGHT="350" ID="Chart1"

> CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> </OBJECT>

>

> <SCRIPT LANGUAGE="VBS">

> SUB Window_OnLoad

> Chart1.OpenDataEx 1,2,4

> ' First series (set of data)

> Chart1.ThisSeries = 0

> Chart1.Value(0) = 20.5

> Chart1.Value(1) = 16

> Chart1.Value(2) = 30

> Chart1.Value(3) = 12.4

>

> ' First series (set of data)

>

> Chart1.ThisSeries = 1

> Chart1.Value(0) = 32

> Chart1.Value(1) = 16.2

> Chart1.Value(2) = 17

> Chart1.Value(3) = 19

> Chart1.CloseData 1

> END SUB

> </SCRIPT>

>

> I pasted the code above into an empy file, and ran it. The data is not

put

> in the chart.

>

> I have done as you suggested I can download see the headers for 2 posts he

> made on the 13/04/2002 but Outlook Express says that the message is

> unavailable on the server.

>

> Please can you give me either a code snippet of creating a chart using the

> HTML method above, <OBJECT.............> and providing data to the chart

> using ASP, or a code snippet to illustrate your idea of mixing the PARAM

> tags with ASP code

>

> Cheers

>

> Eric

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:X8vVGV9CCHA.1724@webserver1.softwarefx.com...

> > The chart will be on the client so you cannot "script" it with ASP, what

> you

> > could do is mix the PARAM tags with ASP code so that the ASP code

generate

> > other PARAM tags when necessary. I personally think that if you are

using

> > ASP it is easier to create the chart on the server and script it there,

it

> > will be much easier to set properties at the server than to generate

PARAM

> > tags for the client to consume, also by creating the chart at the server

> you

> > can switch to image generation (if needed).

> >

> > We do not remove postings from our newsgroups, to get them back you may

> want

> > to try the following

> >

> > - Right click the newsgroup and select "Properties" - "Local File"

> > - Click the reset button

> > - Click on a different newsgroup and then click the newsgroup, you may

> have

> > hit the headers button a couple of times because OE

> > will download 300 headers at a time.

> >

> > In my machine this has always fixed this problem.

> >

> > --

> > Regards

> >

> > JC

> > Software FX Support

> >

> > "Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

> > news:GykPrY1CCHA.1724@webserver1.softwarefx.com...

> > > Hello!

> > >

> > > A while back I am sure I saw an example somewhere of creating a chart

> with

> > > HTML, setting some properties using the PARAM tag method, and others

> using

> > > ASP. Has anyone else seen this or can point me in the right

direction?

> > >

> > > I am trying to produce a generic chart producing application. Using

> > HTML's

> > > PARAM tag is the best way to set up the parameters, but I want to

place

> > > information in the chart using ASP.

> > >

> > > I saw a similar post ages ago by Paul Saxton, but did not look at it

> then

> > > because I didi not need to. Now when I do, I find that his post has

> > gone!!

> > >

> > > My chart would be created with code like that below

> > >

> > > <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> > > TYPE="application/x-oleobject"

> > > WIDTH="500" HEIGHT="350" ID="Chart1"

> > > CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> > > <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> > > <PARAM NAME="InLineData" VALUE="Series">

> > > <PARAM NAME="S0" VALUE="20,40,50">

> > > <PARAM NAME="S1" VALUE="10,8,7">

> > > <PARAM NAME="Axis(1).Min" VALUE="-5">

> > > <PARAM NAME="Axis(0).Min" VALUE="-5">

> > > <PARAM NAME="Axis(2).Min" VALUE="-5">

> > > </OBJECT>

> > >

> > > How do I further modify Chart1 with ASP?

> > >

> > > Cheers

> > >

> > > Eric

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Hello!

I think I need to go into more detail about my situation. I have produced

an application that allows a user to produce any chart based on any data.

Basically, a very generic application. The user adds properties to the

chart such as Title(1) and sets the values for each of these properties in

the application. I then get all of the properties from the underlying

database and I want to set them using the PARAM tag. I have to use the

PARAM tag to set the properties because on one chart, the user may only set

the Title(1) property, and on another chat they may set more properties. So

I cannot use the API in this situation because it would take too long. All

I need to do with the PARAM tag is to loop through all of the properties

they have set for the chart and do Response.write("<PARAM NAME="Name"

VALUE="Whatever">. This approach means that no more work is being done than

required. However, I need to provide data to the chart using a VB array.

Does this help you to understand my situation? Can you provide any code

snippets that you think may help me? I cannot test the code you provide

below at the moment, will do that later.

Thanks

Eric

"Software FX Support" <support@softwarefx.com> wrote in message

news:M7HvFQODCHA.2452@webserver1.softwarefx.com...

> >> I have to use the param tags because different charts will have

different

> properties to set.

>

> I am not sure I understand that. You can have an ASP that does this

>

> if (Something is true)

> chart.Gallery = BAR

> chart.OpenDataEx ...

> else

> chart.Gallery = LINES

> chart.OpenDataEx

> end if

>

> Your code can generate different charts and all you have to do is use our

> API.

> The only reason we support PARAM tags is to support Unix (and other

> Operating Sytems) where you cannot use our server component

>

> Note that when you are saying ASP you really seem to be saying Client Code

> since the code you posted does not have any ASP (server side) code.

>

> I tested the following HTML page with Client Code and it worked fine

>

> <HTML>

> <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> TYPE="application/x-oleobject"

> WIDTH="500" HEIGHT="350" ID="Chart1"

> CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> </OBJECT>

>

> <SCRIPT LANGUAGE="VBS">

> SUB Window_OnLoad

> Chart1.OpenDataEx 1,2,4

> ' First series (set of data)

> Chart1.ValueEx(0,0) = 20.5

> Chart1.ValueEx(0,1) = 16

> Chart1.ValueEx(0,2) = 30

> Chart1.ValueEx(0,3) = 12.4

>

> Chart1.ValueEx(1,0) = 32

> Chart1.ValueEx(1,1) = 16.2

> Chart1.ValueEx(1,2) = 17

> Chart1.ValueEx(1,3) = 19

> Chart1.CloseData 1

> END SUB

> </SCRIPT>

> </HTML>

>

> --

> Regards

>

> JC

> Software FX Support

>

> "Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

> news:4ZA$gM$CCHA.1724@webserver1.softwarefx.com...

> > Hello!

> >

> > I have to use the param tags because different charts will have

different

> > properties to set. I will still be generating the charts using ASP,

> > something like

> >

> > FOR Each Property DO

> > Response.write("PROPERTY=""Title"" VALUE=""Title"")

> >

> > Or whatever the syntax is.

> >

> > I have found an example of doing something very similar to what I need

to

> do

> > in your help file. However, it does not work

> >

> > Supplying dynamic data using VBScript.

> > Chart FX can also receive the data to be charted using VBScript (or

> > JavaScript). You can use VBScript to supply the data as follows

> >

> > <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> > TYPE="application/x-oleobject"

> > WIDTH="500" HEIGHT="350" ID="Chart1"

> > CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> > <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> > </OBJECT>

> >

> > <SCRIPT LANGUAGE="VBS">

> > SUB Window_OnLoad

> > Chart1.OpenDataEx 1,2,4

> > ' First series (set of data)

> > Chart1.ThisSeries = 0

> > Chart1.Value(0) = 20.5

> > Chart1.Value(1) = 16

> > Chart1.Value(2) = 30

> > Chart1.Value(3) = 12.4

> >

> > ' First series (set of data)

> >

> > Chart1.ThisSeries = 1

> > Chart1.Value(0) = 32

> > Chart1.Value(1) = 16.2

> > Chart1.Value(2) = 17

> > Chart1.Value(3) = 19

> > Chart1.CloseData 1

> > END SUB

> > </SCRIPT>

> >

> > I pasted the code above into an empy file, and ran it. The data is not

> put

> > in the chart.

> >

> > I have done as you suggested I can download see the headers for 2 posts

he

> > made on the 13/04/2002 but Outlook Express says that the message is

> > unavailable on the server.

> >

> > Please can you give me either a code snippet of creating a chart using

the

> > HTML method above, <OBJECT.............> and providing data to the chart

> > using ASP, or a code snippet to illustrate your idea of mixing the PARAM

> > tags with ASP code

> >

> > Cheers

> >

> > Eric

> >

> > "Software FX Support" <support@softwarefx.com> wrote in message

> > news:X8vVGV9CCHA.1724@webserver1.softwarefx.com...

> > > The chart will be on the client so you cannot "script" it with ASP,

what

> > you

> > > could do is mix the PARAM tags with ASP code so that the ASP code

> generate

> > > other PARAM tags when necessary. I personally think that if you are

> using

> > > ASP it is easier to create the chart on the server and script it

there,

> it

> > > will be much easier to set properties at the server than to generate

> PARAM

> > > tags for the client to consume, also by creating the chart at the

server

> > you

> > > can switch to image generation (if needed).

> > >

> > > We do not remove postings from our newsgroups, to get them back you

may

> > want

> > > to try the following

> > >

> > > - Right click the newsgroup and select "Properties" - "Local File"

> > > - Click the reset button

> > > - Click on a different newsgroup and then click the newsgroup, you may

> > have

> > > hit the headers button a couple of times because OE

> > > will download 300 headers at a time.

> > >

> > > In my machine this has always fixed this problem.

> > >

> > > --

> > > Regards

> > >

> > > JC

> > > Software FX Support

> > >

> > > "Eric Harris" <ericblahdeblah@hotmail.com> wrote in message

> > > news:GykPrY1CCHA.1724@webserver1.softwarefx.com...

> > > > Hello!

> > > >

> > > > A while back I am sure I saw an example somewhere of creating a

chart

> > with

> > > > HTML, setting some properties using the PARAM tag method, and others

> > using

> > > > ASP. Has anyone else seen this or can point me in the right

> direction?

> > > >

> > > > I am trying to produce a generic chart producing application. Using

> > > HTML's

> > > > PARAM tag is the best way to set up the parameters, but I want to

> place

> > > > information in the chart using ASP.

> > > >

> > > > I saw a similar post ages ago by Paul Saxton, but did not look at it

> > then

> > > > because I didi not need to. Now when I do, I find that his post has

> > > gone!!

> > > >

> > > > My chart would be created with code like that below

> > > >

> > > > <OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"

> > > > TYPE="application/x-oleobject"

> > > > WIDTH="500" HEIGHT="350" ID="Chart1"

> > > > CODEBASE=/download/CfxIEAx.cab#Version=4,4,11,3>

> > > > <PARAM NAME="LICENSE" VALUE="/license/CfxIE.lic">

> > > > <PARAM NAME="InLineData" VALUE="Series">

> > > > <PARAM NAME="S0" VALUE="20,40,50">

> > > > <PARAM NAME="S1" VALUE="10,8,7">

> > > > <PARAM NAME="Axis(1).Min" VALUE="-5">

> > > > <PARAM NAME="Axis(0).Min" VALUE="-5">

> > > > <PARAM NAME="Axis(2).Min" VALUE="-5">

> > > > </OBJECT>

> > > >

> > > > How do I further modify Chart1 with ASP?

> > > >

> > > > Cheers

> > > >

> > > > Eric

> > > >

> > > >

> > >

> > >

> >

> >

>

>

Attachments.zip

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...