User (Legacy) Posted December 15, 2003 Report Share Posted December 15, 2003 Hello, I need some very custom tooltips to appear on my chart and saw that the GetTip method is available for doing this. However, I don't know how (if it's even possible) to implement this method when displaying a chart in an ASP page. Is it possible to capture this event client-side in an ASP page? Thanks. Link to comment Share on other sites More sharing options...
Software FX Posted December 15, 2003 Report Share Posted December 15, 2003 The GetTip event occurs in the client. Any code that captures or handles this event should be written in the client ONLY if the ActiveX client component is being used. Simply capture the GetTip event using Java Script (or VB Script) and follow the instructions in the docs. For example: <SCRIPT LANGUAGE="JavaScript" FOR="Chart1" EVENT="GetTip(nHit, nSerie, nPoint, nRes)"> Chart1.HText= "My ToolTip" Chart1.ReturnValue = 1 </SCRIPT> There is a few samples of capturing events in our support site under the "ActiveX" section. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
User (Legacy) Posted December 15, 2003 Author Report Share Posted December 15, 2003 Thanks for the help, that answers my question perfectly. I have one other question though. I'm using a scatter plot graph where I simply specify xy values to plot my points. Is there any way to associate extra data with points? Or at least some way to uniquely identify a point using data other than whats contained in the xy values? I have a situation where I need to display a persons name in a tooltip when they hover over a point on the chart. The persons name is neither the x or y value on the chart. Thanks! "SoftwareFX Support" <support@softwarefx.com> wrote in message news:RBPzZu1wDHA.3512@WEBSERVER1... > The GetTip event occurs in the client. > > Any code that captures or handles this event should be written in the client > ONLY if the ActiveX client component is being used. > > Simply capture the GetTip event using Java Script (or VB Script) and follow > the instructions in the docs. For example: > > <SCRIPT LANGUAGE="JavaScript" FOR="Chart1" EVENT="GetTip(nHit, nSerie, > nPoint, nRes)"> > Chart1.HText= "My ToolTip" > Chart1.ReturnValue = 1 > </SCRIPT> > > There is a few samples of capturing events in our support site under the > "ActiveX" section. > > -- > FP > Software FX, Inc. > > Link to comment Share on other sites More sharing options...
Software FX Posted December 16, 2003 Report Share Posted December 16, 2003 I'm afraid not. In Chart FX 6.x (for .NET or Java) we added the ability to define per-point properties including a TAG property that can be used for labeling. In Chart FX 5.x there is no such a feature. -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.