I am trying to change the colors of lines displayed in my portlet based off of a date range. The following are examples of what I am trying to do.
- within the last 7 days - green
- greater than 7 days - red.
I have tried the following expressions :date - 7 and it does not work, I am assuming as there is not an overloaded operator to handle the subtraction between a date object and a integer. Also for the expression field, can it handle function calls? As I have also tried to use getdate() which does not work here.