Graphics

 View Only
  • 1.  Datalinq and Visual Logic to Make Color and Visibility Change

    Posted 10-20-2016 22:55
    Hello,

    I have election graphics that we are populating via datalinq. I would like to add visual logic to scene for the following:

    1. Change the higher value of two text objects (that are datalinqed) to a different color
    2. Change the visibility of a quad based on a letter typed into a datalinq field

    I would love all your expert advice. Thanks much!


  • 2.  RE: Datalinq and Visual Logic to Make Color and Visibility Change

    Posted 10-24-2016 08:01

    Same here. How to add condition to logic patter to use two different colors depend of text?


    #XPression


  • 3.  RE: Datalinq and Visual Logic to Make Color and Visibility Change

    Posted 10-24-2016 08:39

    To change the higher value of two text objects (that are datalinqed) to a different color :


    #XPression


  • 4.  RE: Datalinq and Visual Logic to Make Color and Visibility Change

    Posted 10-24-2016 08:44

    To change the visibility of a quad based on a letter typed into a datalinq field


    #XPression


  • 5.  RE: Datalinq and Visual Logic to Make Color and Visibility Change

    Posted 10-24-2016 18:58
    Hi Vinz,

    Thanks for these photos of the VL - they are really helpful. I have the color change working but I need to take it two steps further and I'm not sure of the steps:

    1. When both values are equal, no color change (currently it is going to the highlight color, which I don't want)
    2. I have additional text objects (%) that need to change color based on the value in another text object. Is this something I can add on here? Ex: If xx is greater than yy, change color of zz.
    #XPression


  • 6.  RE: Datalinq and Visual Logic to Make Color and Visibility Change

    Posted 11-04-2016 07:28
    1) If both are equal, you can fake a third value (a very big integer like 999999999) to insert into "Max Block", in this case, conditions "equals to" are never true, so TextObject color don't change.
    2) Sure you can, just keep the same logic, but at the end, add the text object you want to put a color on.
    #XPression