Jump to content
Software FX Community

bit stream generation (changing chart properties dynamically)


User (Legacy)

Recommended Posts

Hi,

I am a newbie to ChartFx and have pretty much just started using them. I

have a situation where my clients have a strict security policy so I have to

generate the Charts as a bit stream. My charts are generated dynamically and

I need to change the properties and datasource of the chart depending on

certain selections made by the user. I need to pass all this info into the

file that generates the chart. One way I could do this is to store

selections made by the user in the session then access the info but this

isn't clean at all. The other way is to dynamically generate the IMG tag and

pass the parameters as get params (eg:<IMG

SRC="chart.aspx?noofdays=7&charttytpe=bar&legend=true">) but again this

isn't really practical if there are many params.

What is the best way of doing this or How is this done? Really appreciate if

someone could explain a good way of doing this.

thanks

Sumesh

Link to comment
Share on other sites

Well the solution I am looking for is to easily integrate a chart in a form

without creating temp files.

Ideally I want to have the chart solution in a user control using the bit

stream approach. So wherever I need a chart, I could use the user control

rather than creating an aspx page for each chart I need.

Is it possbile to build a user control using GetHtmlData and how is it used

on a form? Also is there any sample code on using PSS extensions and passing

params and also building it as a user control.

Any help much appreciated.

Thanks

Sumesh

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

news:nMl5EY43DHA.2468@webserver3.softwarefx.com...

> If these are user choices, I don't see any other option.

>

> What kind of solution are you looking for ?

>

> Note: Take a look at the PSS extension, it provides you with extra

security

> with little or no coding on your part.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

When you use the PSS extension you do not have to worry about passing params

since you do not need a two-page approach. You just code one page with your

chart (you will handle here all the parameters you need but you do NOT need

to pass these around).

The PSS extension will pass your chart to a service (along with the

credentials of the user generating the chart) and this service (in

conjunction with an HTTP handler) will return the chart without generating

any files. You can also use the PSS extension to cache charts (this is

optional).

--

Regards,

JC

Software FX Support

"Sumesh" <sumesh.nair@flytxt.com> wrote in message

news:qmBe6uA4DHA.2468@webserver3.softwarefx.com...

> Well the solution I am looking for is to easily integrate a chart in a

form

> without creating temp files.

> Ideally I want to have the chart solution in a user control using the bit

> stream approach. So wherever I need a chart, I could use the user control

> rather than creating an aspx page for each chart I need.

>

> Is it possbile to build a user control using GetHtmlData and how is it

used

> on a form? Also is there any sample code on using PSS extensions and

passing

> params and also building it as a user control.

>

> Any help much appreciated.

>

> Thanks

> Sumesh

>

>

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

> news:nMl5EY43DHA.2468@webserver3.softwarefx.com...

> > If these are user choices, I don't see any other option.

> >

> > What kind of solution are you looking for ?

> >

> > Note: Take a look at the PSS extension, it provides you with extra

> security

> > with little or no coding on your part.

> >

> > --

> > FP

> > Software FX, Inc.

> >

> >

>

>

Link to comment
Share on other sites

Thanks for the reply.

Good to know that PSS handles all parameters and is also a one page

approach.

I need to have a bunch of charts on various pages and it would make most

sense to package this as a user control.

So will this approach work if I put all this into a user control? Secondly

if I build a user control can I simply put the user control on a web form

and will this display the graph.?

Thanks for help...

Sumesh

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

news:9s1J70C4DHA.2688@webserver3.softwarefx.com...

> When you use the PSS extension you do not have to worry about passing

params

> since you do not need a two-page approach. You just code one page with

your

> chart (you will handle here all the parameters you need but you do NOT

need

> to pass these around).

>

> The PSS extension will pass your chart to a service (along with the

> credentials of the user generating the chart) and this service (in

> conjunction with an HTTP handler) will return the chart without generating

> any files. You can also use the PSS extension to cache charts (this is

> optional).

>

> --

> Regards,

>

> JC

> Software FX Support

> "Sumesh" <sumesh.nair@flytxt.com> wrote in message

> news:qmBe6uA4DHA.2468@webserver3.softwarefx.com...

> > Well the solution I am looking for is to easily integrate a chart in a

> form

> > without creating temp files.

> > Ideally I want to have the chart solution in a user control using the

bit

> > stream approach. So wherever I need a chart, I could use the user

control

> > rather than creating an aspx page for each chart I need.

> >

> > Is it possbile to build a user control using GetHtmlData and how is it

> used

> > on a form? Also is there any sample code on using PSS extensions and

> passing

> > params and also building it as a user control.

> >

> > Any help much appreciated.

> >

> > Thanks

> > Sumesh

> >

> >

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

> > news:nMl5EY43DHA.2468@webserver3.softwarefx.com...

> > > If these are user choices, I don't see any other option.

> > >

> > > What kind of solution are you looking for ?

> > >

> > > Note: Take a look at the PSS extension, it provides you with extra

> > security

> > > with little or no coding on your part.

> > >

> > > --

> > > FP

> > > Software FX, Inc.

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...