Senthil Posted September 16, 2007 Report Share Posted September 16, 2007 Hi, I am using Chart Fx 2005. I found the following error in my browser while viewing the chart "Chart FX: ActiveX client requires Internet Explorer and Windows in the client computer" The charts are being renedered as "Activex". But I am able to see the Charts developed in older vesion of Chart FX in my browser. The Older version of the Chart FX has also been renedered as Activex. Regards, Senthil. Quote Link to comment Share on other sites More sharing options...
Frank Posted September 17, 2007 Report Share Posted September 17, 2007 Chart FX for VS 2005 doesn't have an ActiveX control. You need to render as .NET. Quote Link to comment Share on other sites More sharing options...
Senthil Posted September 19, 2007 Author Report Share Posted September 19, 2007 Thank you. I am able to do as .net control. but When i down load it from my client machine, It says .net framework version needs to be installed to view the chart. I have to view the chart as .net control and my client machines are not installed with .net framework. Can you please help me to view the chart as .net control in my client machine. Regards Senthil Quote Link to comment Share on other sites More sharing options...
Frank Posted September 19, 2007 Report Share Posted September 19, 2007 The .NET Framework is required for viewing the .NET Control. You may want to use "Auto" so that the server will make the decision to send an image to those computers that don't have the .NET framework installed. Quote Link to comment Share on other sites More sharing options...
Senthil Posted September 20, 2007 Author Report Share Posted September 20, 2007 Hi, Thanks for the quick response. One more query, I want to handle double click event on points. Or I want to execute a java script (client side) when a point is double clicked. my charts are rendered as .NET contol to clients. Can you please help me how to do that. Thanks, Senthil Quote Link to comment Share on other sites More sharing options...
Frank Posted September 26, 2007 Report Share Posted September 26, 2007 To capture the Double Clock event (or any other event) coming from the .NET client in JavaScript you need to add the following code to your page: <script lang="JavaScript" for="Chart1" event="MouseDoubleClick(sender,args)"> alert('double click ' + args.X.toString() + "," + args.Y.toString()); </script> For a list of all events and their parameters please refer to the Windows Form API reference. A couple of things about Client-Side events: - UseClientLoader must be set to false - You must have Full Trust in your .NET permissions (Client Computer - .NET Framework 2.0 Configuration) in order for the client to send events to JavaScript. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.