User (Legacy) Posted June 20, 2005 Report Posted June 20, 2005 Hello, Is there a way to retrieve the "Value" of a point from client-side javascript? I'ved tried to following to no avail: alert(Chart1.Value[0,nPoint]); This return "undefined". Best regards, Gabe
Software FX Posted June 21, 2005 Report Posted June 21, 2005 The problem here is the Syntax, JavaScript is NOT .NET so it access Chart FX using COM. The correct syntax for this would be: alert(Chart1.Value.Item(0,nPoint)); In general all indexers (like [0,nPoint]) have to be retrieved through the Item method. -- Francisco Padron www.chartfx.com
User (Legacy) Posted June 21, 2005 Author Report Posted June 21, 2005 I knew it would be easy, thank you so much for your help! Best regards, Gabe "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:hzezw9odFHA.208@webserver3.softwarefx.com... > The problem here is the Syntax, JavaScript is NOT .NET so it access Chart FX > using COM. > > The correct syntax for this would be: > > alert(Chart1.Value.Item(0,nPoint)); > > In general all indexers (like [0,nPoint]) have to be retrieved through the > Item method. > > -- > Francisco Padron > www.chartfx.com > >
User (Legacy) Posted June 21, 2005 Author Report Posted June 21, 2005 Sorry, one more question. Is there a javascript/vbscript API reference? Best regards, Gabe "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:hzezw9odFHA.208@webserver3.softwarefx.com... > The problem here is the Syntax, JavaScript is NOT .NET so it access Chart FX > using COM. > > The correct syntax for this would be: > > alert(Chart1.Value.Item(0,nPoint)); > > In general all indexers (like [0,nPoint]) have to be retrieved through the > Item method. > > -- > Francisco Padron > www.chartfx.com > >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.