Results 1 to 10 of 31

Thread: Action script

Hybrid View

  1. #1
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    I can't see what I forgot...


    I set up a dummy adapter that serves the same item (Next) with the same fields (Next and timestamp) as yours.

    Then I use its data with this front-end html page and it works correctly (the PushPage/engine configuration is done in the external misc.js file; as you did note my PushPage object is called pushPage while yours is lsPage).

    Note also that the positionXAxis and positionYAxis calls are made with static values; this is usually not appropriate and you have to find a way to configure them correctly accordingly with the data you're receiving (that's why in our ChartDemo we wait for the fist update before configuring them).

    Please be sure also to check the jsDocs for the ChartTable and ChartLine classes

    Try to take a look at it:



    HTH

  2. #2
    Member
    Join Date
    Jul 2009
    Location
    Zagreb
    Posts
    18
    it finally works. I get the required graph. And it closely resembles sent values. I thank you for your help.

    I'll go play with Flex to see if I can create a little more dynamic graph and everything but essentially I'm done. Mission acomplished.

    ps. Can I get source code from that Flash stocklist demo just so I could see what it looks like? it may be of help in making flash application.

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    521
    Cyro,

    You can find the source code of the Flash demo inside your Lightstreamer distribution in the "DOCS-SDKs/sdk_client_flash_flex(js_bridge)/examples/FlashStockList" folder.

 

 

Similar Threads

  1. IE script warning
    By jonasby1 in forum Client SDKs
    Replies: 3
    Last Post: July 27th, 2011, 09:58 AM
  2. Replies: 5
    Last Post: December 23rd, 2010, 08:34 AM
  3. Unresponsive Script
    By vaduganathan in forum Client SDKs
    Replies: 1
    Last Post: March 23rd, 2010, 02:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:52 PM.