Jump to content
Software FX Community

Interactive display for chart


User (Legacy)

Recommended Posts

I have used ChartFX 5.5 in the past without too many complications. 

However, since trialling Chart FX .Net I have been unable to display a

interactive chart using vs.net 2003.

So far, I am able to view the default chart as an image, no problems here.

When I change the htmltag to "Auto" it defaults to image as well. When I

set it to ".Net" nothing appears on screen. However, if I paste the code

from url

http://support.softwarefx.com/Article.aspx?KBID=6121017&Product=CfxJava&Embed=0 I

can view an interactive chart.

So, my question is how do I view an interactive chart by placing the control

on a web form and passing data to it oin the codebehind?

Other things I have tried is to change the permissions on the .Net framework

1.1 & 2.0

Check the permissions on the Chart FX download directory

Tried to view the chm file in notepad but it seemed to be a binary file.

Here is the object tag produced:

<object id="Chart1"

classid="/chartfx62/download/ChartFX.MainClient.DLL#SoftwareFX.ChartFX.Internet.MainClient"

WIDTH="300px" HEIGHT="300px" >

<PARAM NAME="DataCookieId" VALUE="a3fco1j2yxrmjiuiqhtgad55">

<PARAM NAME="DataPath" VALUE="/chartfx62/temp/CFT0722_114534345EC.chw">

<PARAM NAME="AssemblyTarget" VALUE="ChartFX.Internet.Client,

Version=6.2.2343.17219, Culture=neutral, PublicKeyToken=a1878e2052c08dce" >

<PARAM NAME="ClassTarget" VALUE="SoftwareFX.ChartFX.Internet.Client.Chart" >

</object>

Any help appreciated.

Warwick

Link to comment
Share on other sites

Francisco,

By "Empty Page", I mean there is nothing displayed. No broken image icon,

no exception.

I have followed your instructions and found that the Save dialog box appears

when I put the DataPath in the browsers address bar. I've also set the

design time chart to MainClient = False.

So I gather it is in the client where the problem exists.

I have followed the directions in the url:

http://support.softwarefx.com/kb/614/1/001.htm

I have followed all directions except adding my site to the list of trusted

sites as I am running my web app on a intranet. I have however changed both

intranet & internet zones to medium trust.

But, still I have no chart appearing.

I have .Net Framework 1.1 & 2.0 on my development machine.

By the way, if I need to adjust security settings on my development machine

to see the interactive charts, will I need to adjust all of the end-user

machines as well?

Thanks

Warwick

"Warwick" <warwick.campbell@team.telstra.com> wrote in message

news:OQpI5cZrGHA.2564@webserver3.softwarefx.com...

>I have used ChartFX 5.5 in the past without too many complications.

>However, since trialling Chart FX .Net I have been unable to display a

>interactive chart using vs.net 2003.

>

> So far, I am able to view the default chart as an image, no problems here.

> When I change the htmltag to "Auto" it defaults to image as well. When I

> set it to ".Net" nothing appears on screen. However, if I paste the code

> from url

> http://support.softwarefx.com/Article.aspx?KBID=6121017&Product=CfxJava&Embed=0 I

> can view an interactive chart.

> So, my question is how do I view an interactive chart by placing the

> control on a web form and passing data to it oin the codebehind?

>

> Other things I have tried is to change the permissions on the .Net

> framework 1.1 & 2.0

> Check the permissions on the Chart FX download directory

> Tried to view the chm file in notepad but it seemed to be a binary file.

>

> Here is the object tag produced:

> <object id="Chart1"

> classid="/chartfx62/download/ChartFX.MainClient.DLL#SoftwareFX.ChartFX.Internet.MainClient"

> WIDTH="300px" HEIGHT="300px" >

> <PARAM NAME="DataCookieId" VALUE="a3fco1j2yxrmjiuiqhtgad55">

> <PARAM NAME="DataPath" VALUE="/chartfx62/temp/CFT0722_114534345EC.chw">

> <PARAM NAME="AssemblyTarget" VALUE="ChartFX.Internet.Client,

> Version=6.2.2343.17219, Culture=neutral, PublicKeyToken=a1878e2052c08dce"

> >

> <PARAM NAME="ClassTarget" VALUE="SoftwareFX.ChartFX.Internet.Client.Chart"

> >

> </object>

>

> Any help appreciated.

>

>

> Warwick

>

Link to comment
Share on other sites

Francisco,

Just another bit of information:

Another classic asp web application that I developed utilizes ChartFX 5.5

Com. The charts in this app work fine on my dev machine. This uses 2

pages, one as a html, the other generating the chart (gethtmltag &

gethtmldata respectively). Should I try to integrate the com component into

my asp.net web app instead?

Warwick

"Warwick" <warwick.campbell@team.telstra.com> wrote in message

news:OQpI5cZrGHA.2564@webserver3.softwarefx.com...

>I have used ChartFX 5.5 in the past without too many complications.

>However, since trialling Chart FX .Net I have been unable to display a

>interactive chart using vs.net 2003.

>

> So far, I am able to view the default chart as an image, no problems here.

> When I change the htmltag to "Auto" it defaults to image as well. When I

> set it to ".Net" nothing appears on screen. However, if I paste the code

> from url

> http://support.softwarefx.com/Article.aspx?KBID=6121017&Product=CfxJava&Embed=0 I

> can view an interactive chart.

> So, my question is how do I view an interactive chart by placing the

> control on a web form and passing data to it oin the codebehind?

>

> Other things I have tried is to change the permissions on the .Net

> framework 1.1 & 2.0

> Check the permissions on the Chart FX download directory

> Tried to view the chm file in notepad but it seemed to be a binary file.

>

> Here is the object tag produced:

> <object id="Chart1"

> classid="/chartfx62/download/ChartFX.MainClient.DLL#SoftwareFX.ChartFX.Internet.MainClient"

> WIDTH="300px" HEIGHT="300px" >

> <PARAM NAME="DataCookieId" VALUE="a3fco1j2yxrmjiuiqhtgad55">

> <PARAM NAME="DataPath" VALUE="/chartfx62/temp/CFT0722_114534345EC.chw">

> <PARAM NAME="AssemblyTarget" VALUE="ChartFX.Internet.Client,

> Version=6.2.2343.17219, Culture=neutral, PublicKeyToken=a1878e2052c08dce"

> >

> <PARAM NAME="ClassTarget" VALUE="SoftwareFX.ChartFX.Internet.Client.Chart"

> >

> </object>

>

> Any help appreciated.

>

>

> Warwick

>

Link to comment
Share on other sites

1) Try setting the permissions to Full-Trust. Any difference ?

2) Is there any code in that page? Have your tried with a page with just a

default chart in it, no other control no settings?

3) Is your app being loaded form an HTTP site or HTTPS ? Is there any

authentication required ? Is it loaded from a port other than 80 ? Is there

a proxy ?

> By the way, if I need to adjust security settings on my development

> machine to see the interactive charts, will I need to adjust all of the

> end-user machines as well?

Chart FX can work in low trust, however there are certain functionalities

such as user authentication, proxies, communications using a port other than

80, hyperlinking and some UI that require a higher level of trust. At this

point I'm just trying to figure out whether your problem has to do with

trust or not, after that we will worry about why and what to do to avoid it.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Ok,

I've changed the security zone to "Full Trust" without any luck.

I've put a chart into a standard web form & set the MainClient=False. This

has worked. Although when I upload to a dev server and test it I get an

error "An exception 'System.Security.Security.Exception' has occured in

<servername>

So it may seem that the chart has some conflict with the custom template

that I am using in vs.net 2003?

Warwick

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

news:T7KMKVmrGHA.324@webserver3.softwarefx.com...

> 1) Try setting the permissions to Full-Trust. Any difference ?

>

> 2) Is there any code in that page? Have your tried with a page with just a

> default chart in it, no other control no settings?

>

> 3) Is your app being loaded form an HTTP site or HTTPS ? Is there any

> authentication required ? Is it loaded from a port other than 80 ? Is

> there a proxy ?

>

>> By the way, if I need to adjust security settings on my development

>> machine to see the interactive charts, will I need to adjust all of the

>> end-user machines as well?

>

> Chart FX can work in low trust, however there are certain functionalities

> such as user authentication, proxies, communications using a port other

> than 80, hyperlinking and some UI that require a higher level of trust. At

> this point I'm just trying to figure out whether your problem has to do

> with trust or not, after that we will worry about why and what to do to

> avoid it.

>

>

> --

> Francisco Padron

> www.chartfx.com

>

Link to comment
Share on other sites

Francisco,

I cannot send the solution file as the templates I am using contain company

specific controls/dlls.

"Warwick" <warwick.campbell@team.telstra.com> wrote in message

news:OQpI5cZrGHA.2564@webserver3.softwarefx.com...

>I have used ChartFX 5.5 in the past without too many complications.

>However, since trialling Chart FX .Net I have been unable to display a

>interactive chart using vs.net 2003.

>

> So far, I am able to view the default chart as an image, no problems here.

> When I change the htmltag to "Auto" it defaults to image as well. When I

> set it to ".Net" nothing appears on screen. However, if I paste the code

> from url

> http://support.softwarefx.com/Article.aspx?KBID=6121017&Product=CfxJava&Embed=0 I

> can view an interactive chart.

> So, my question is how do I view an interactive chart by placing the

> control on a web form and passing data to it oin the codebehind?

>

> Other things I have tried is to change the permissions on the .Net

> framework 1.1 & 2.0

> Check the permissions on the Chart FX download directory

> Tried to view the chm file in notepad but it seemed to be a binary file.

>

> Here is the object tag produced:

> <object id="Chart1"

> classid="/chartfx62/download/ChartFX.MainClient.DLL#SoftwareFX.ChartFX.Internet.MainClient"

> WIDTH="300px" HEIGHT="300px" >

> <PARAM NAME="DataCookieId" VALUE="a3fco1j2yxrmjiuiqhtgad55">

> <PARAM NAME="DataPath" VALUE="/chartfx62/temp/CFT0722_114534345EC.chw">

> <PARAM NAME="AssemblyTarget" VALUE="ChartFX.Internet.Client,

> Version=6.2.2343.17219, Culture=neutral, PublicKeyToken=a1878e2052c08dce"

> >

> <PARAM NAME="ClassTarget" VALUE="SoftwareFX.ChartFX.Internet.Client.Chart"

> >

> </object>

>

> Any help appreciated.

>

>

> Warwick

>

Link to comment
Share on other sites

Without a way to reproducing the problem I can not tell you what's causing 

it. You will need to isolate a WebForm application that reproduces the

problem without using other controls. It may be the other controls the ones

causing the problem and not Chart FX, unless we isolate it we can't tell.

--

Francisco Padron

www.chartfx.com

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...