Announcement

Collapse
No announcement yet.

ForceIndex

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ForceIndex

    ForceINDEX
    (1) How do I change the blue HISTORGRAM bars to
    up = green
    down = red
    Attached Files
    Larry Dudash
    HAL at
    http://share.esignal.com/groupconten...r=&groupid=549

  • #2
    Larry,
    You could add in a if/else if statement that would check the value of the nForce1 and if the number is < 0 change the default color. Please see that snippet of code below that can be used.

    PHP Code:
     if(nForce1 0){
            
    setDefaultBarFgColor(Color.red0)
             }
            else if(
    nForce1 0){
            
    setDefaultBarFgColor(Color.green0)
             }
        return new Array(
    nForce1nForce2);

    Comment

    Working...
    X