User (Legacy) Posted November 5, 2003 Report Share Posted November 5, 2003 Hello.. I want Control Annotate Control on the Chart Object.. and control Chart object and Chart.PixeltoValue() -> this is not work..(at the Client script) =================================================================== <% Set chart = server.CreateObject("ChartFX.WebServer") Set AnnotX = Server.CreateObject ("AnnotationX.AnnList") Chart.AddExtension AnnotX Set grPosText = AnnotX.Add(6) %> <%=chart.GetHtmlTag(600,400,"AUTO")%> <SCRIPT LANGUAGE="JavaScript" FOR="Chart1" EVENT="LButtonDown(x, y, nRes)"> <!-- start_x= new Number(0); start_y= new Number(0); //Chart1.PixelToValue(x,y,start_x,start_y,0) -> it's not work start_x = (x-57)/12.8 ; start_y = (355-y)/16.3 ; sPos = new String(); sPos = start_x + ' X ' + start_y; sPosText = new String(); wg = new Number(0); wg = 115 * start_x + 70 * start_y - 210 ; wg = (wg.toFixed(2)); sPosText = 'WG=' + wg.toString() + ' KW' //grPosText.Text = sPosText; <--- it's not work too.. //grPosText.Attach 1, start_x + ',' + start_y Chart1.ReturnValue = 1; --> </SCRIPT> Please Help Me... -- Regards, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.