Graphics

 View Only
  • 1.  Reading Datalinq Data in Scripts for Use in Variables

    Posted 01-12-2019 02:24
    Is there a good way to pull data from a Datalinq source to use as a variable in a script?
    I'm attempting to make an APITexture'd line graph of basketball scores over time.
    I've got the goals data well and transformed as an XML with some nice ancillary data about how many periods have been played thus far, how many plays are in the period, which would all be great if I could then process that datalinq data as a variable.


  • 2.  RE: Reading Datalinq Data in Scripts for Use in Variables

    Posted 01-14-2019 15:11
    Hi !

    You can put your Datalinq source in a text object (with no visibility) and get this text object to retrieve your data in your code...


    #XPression


  • 3.  RE: Reading Datalinq Data in Scripts for Use in Variables

    Posted 01-14-2019 20:36
    The most efficient way would be to store the data into a single text object with a bunch of comma separated values, and then pull that string apart in scripting to be able to draw the individual points. This is how I've seen people do basketball/hockey shot charts etc..
    #XPression


  • 4.  RE: Reading Datalinq Data in Scripts for Use in Variables

    Posted 08-16-2019 18:17

    @Brian Ford. Brian can you give me a little more detail on this? We are designing shot charts for the upcoming season and NGSS spits out numbers separated by commas just like you say. Can you point me to a script that I can start modifying to do what I need? Thanks as always.


    #XPression


  • 5.  RE: Reading Datalinq Data in Scripts for Use in Variables

    Posted 01-11-2021 23:15

    Hello,

    Di you get this to work? would you mind sharing the script, I need to do something similar, a line graph for covid.

    Thanks 

     


    #XPression