BloX Template: Currencies Conditional (Crypto)

Comments

3 comments

  • Avatar
    Ido Darnell

    This is cool Donald, thanks,

    Quick question, is it possible to hold dynamic thresholds fore these conditions, based on another value within the widget?

    For instance, if I wouldn't necessarily have static conditional thresholds, rather, if I would like to compare current Q value to last Q, I would add 2 measures: [ThisQ] and [LastQ] and place the [LastQ] value in the conditional settings:

    So instead of:

     {
    "minRange": "0",
    "maxRange": "Infinity",
    "backgroundColor": "#3adcca",
    "image": "/plugins/BloX/blox-images/stockmarket/arrow-up.png"
    },
    {
    "minRange": "-Infinity",
    "maxRange": "0",
    "backgroundColor": "#fd6e69",
    "image": "/plugins/BloX/blox-images/stockmarket/arrow-down.png"
    }

    I would rather use:

    {
    "minRange": "{panel:LastQ}",
    "maxRange": "Infinity",
    "backgroundColor": "#3adcca",
    "image": "/plugins/BloX/blox-images/stockmarket/arrow-up.png"
    },
    {
    "minRange": "-Infinity",
    "maxRange": "{panel:LastQ}",
    "backgroundColor": "#fd6e69",
    "image": "/plugins/BloX/blox-images/stockmarket/arrow-down.png"
    }

     

    Tried this, with no luck, any thoughts?

    Thanks in advance

    1
    Comment actions Permalink
  • Avatar
    Donald Lui

    Hi Ido,

    I saw your comment and spoke with the current time that is developing BloX. Currently, the functionality is a limitation. I have reflected this with them and hopefully we can see this in the future release.

    -Donald

     

     

    0
    Comment actions Permalink
  • Avatar
    Oksana Partridge

    Is there a way to have 2 conditional sets to apply to different items? 

     

    1
    Comment actions Permalink

Please sign in to leave a comment.