View Full Version : Number of update frequencies on a single web client page
Sinead
02-06-2007, 02:49 PM
Is it possible to have different tables on a (html) page that are updated at different frequencies?
For example to have one chart updated every 3 seconds another chart updated every 5 seconds and another chart updated every 15 seconds.
Thanks
Yes you can, just call the setRequestedMaxFrequency (http://www.lightstreamer.com/docs/client_web_jsdoc/Table.html#setRequestedMaxFrequency)method on the table you wish to limit with an appropriate parameter.
HTH,
Mone.
Sinead
02-07-2007, 04:18 PM
Thanks Mone,
Another quick one. Is it completely necessary to use frames when using the web client?
Thanks
Sinead
It depends on what you mean with "to use frames".
Lightstreamer web client needs that lsengine.html is loaded in the page. So you can use a frameset and put it on a frame, or you can put the lsengine.html in an iFrame on your single-page. In the second case is recommended to use loadEngine (http://www.lightstreamer.com/docs/client_web_jsdoc/PushPage.html#loadEngine)/loadEngineMinimal (http://www.lightstreamer.com/docs/client_web_jsdoc/PushPage.html#loadEngineMinimal) method to delegate to the web client the creation of the iFrame.
Please take a look at "LS_HOME/DOCS-SDKs/sdk_client_web/Web Client dev.pdf" for an overview on web client development.
Mone.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.