User (Legacy) Posted June 9, 2002 Report Share Posted June 9, 2002 Hello! I have now just about managed to resolve the issues I have been having. I would now like some simple advise. Is it faster to provide numeric data using a javascript array, or tags <PARAM NAME="InlineData" VALUE="Series"> <PARAM NAME="S1" VALUE="12,23"> I think it is probably faster using an array. If this is the case, please can someone provide a short example of how to do this, eg, create an array with 2 numbers and add it to the chart. There is an example for ASP/VBScript, but not JavaScript. Replies to my other posts just out of curiosity, would be appreciated. Cheers Eric Link to comment Share on other sites More sharing options...
Software FX Posted June 12, 2002 Report Share Posted June 12, 2002 The array would be faster but it would force you to use a component (ChartFX data provider) that was not designed to be used as a downloadable component. Note that passing the data through our API will give you almost the same performance as passing an array. In most cases the difference in performance would start to be noticeable with hundreds of thousands or million of points. -- Regards JC Software FX Support "Eric Harris" <ericblahdeblah@hotmail.com> wrote in message news:OGF$cu9DCHA.1324@webserver1.softwarefx.com... > Hello! > > I have now just about managed to resolve the issues I have been having. I > would now like some simple advise. Is it faster to provide numeric data > using a javascript array, or tags > > <PARAM NAME="InlineData" VALUE="Series"> > <PARAM NAME="S1" VALUE="12,23"> > > I think it is probably faster using an array. If this is the case, please > can someone provide a short example of how to do this, eg, create an array > with 2 numbers and add it to the chart. There is an example for > ASP/VBScript, but not JavaScript. > > Replies to my other posts just out of curiosity, would be appreciated. > > Cheers > > Eric > > Link to comment Share on other sites More sharing options...
User (Legacy) Posted June 12, 2002 Author Report Share Posted June 12, 2002 Thanks, Unless you can be very nice and give me an example of using the opendataex method of passing data with Javascript, I will continue with the inline data method Cheers Eric "Software FX Support" <support@softwarefx.com> wrote in message news:yEtrxOjECHA.1324@webserver1.softwarefx.com... > The array would be faster but it would force you to use a component (ChartFX > data provider) that was not designed to be used as a downloadable component. > > Note that passing the data through our API will give you almost the same > performance as passing an array. In most cases the difference in performance > would start to be noticeable with hundreds of thousands or million of > points. > > -- > Regards > > JC > Software FX Support > > "Eric Harris" <ericblahdeblah@hotmail.com> wrote in message > news:OGF$cu9DCHA.1324@webserver1.softwarefx.com... > > Hello! > > > > I have now just about managed to resolve the issues I have been having. I > > would now like some simple advise. Is it faster to provide numeric data > > using a javascript array, or tags > > > > <PARAM NAME="InlineData" VALUE="Series"> > > <PARAM NAME="S1" VALUE="12,23"> > > > > I think it is probably faster using an array. If this is the case, please > > can someone provide a short example of how to do this, eg, create an array > > with 2 numbers and add it to the chart. There is an example for > > ASP/VBScript, but not JavaScript. > > > > Replies to my other posts just out of curiosity, would be appreciated. > > > > Cheers > > > > Eric > > > > > > Attachments.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.