Portlet with dynamic background zones

Discussion created by goyal_madhuri on May 17, 2012
Latest reply on Jun 13, 2012 by Chris_Hackett
Is there any way to create a portlet with dynamic background zones i.e. a portlet with background zones where range for the background zone is dynamically changing and I don't want to hardcode the changed value for the zone at the attribute of the query,I want to change these ranges dynamically in synch with database update.

E.g. For a portlet we have define a background range 0-3 -Red, 3-5 Blue. This has been hardcoded in the attributes of the query. Later on when this range changes 0-2.5 red, 2.5-5 Blue. I don't want to change this manually at attributes in query. I want this to be automatically changed.