List atts=colors.getContainedAttributes();
String colorNum="";
String colorSerie="";
String num="";
for (Iterator iterator = atts.iterator(); iterator.hasNext();) {
SourceBeanAttribute object = (SourceBeanAttribute) iterator.next();
String serieName=new String(object.getKey());
colorSerie=new String((String)object.getValue());
Color col=new Color(Integer.decode(colorSerie).intValue());
if(col!=null){
colorMap.put(serieName,col);
}
}
}
//reading series colors if present, if present this overrides series colors!!!
SourceBean orderColors = (SourceBean)content.getAttribute(SERIES_ORDER_COLORS);
if(orderColors==null){
orderColors = (SourceBean)content.getAttribute("CONF."+SERIES_ORDER_COLORS);
}
if(orderColors!=null){
orderColorVector=new Vector<Color>();
List atts=orderColors.getContainedAttributes();
String numSerie="";
String colorSerie="";
for (Iterator iterator = atts.iterator(); iterator.hasNext();) {
SourceBeanAttribute object = (SourceBeanAttribute) iterator.next();
numSerie=new String(object.getKey());
colorSerie=new String((String)object.getValue());
Color col=new Color(Integer.decode(colorSerie).intValue());
if(col!=null){
orderColorVector.add(col);
//colorMap.put(numSerie,col);
}
}
}
//reading filter style if present
SourceBean sbSerieStyle = (SourceBean)content.getAttribute("STYLE_SLIDER_AREA");
if(sbSerieStyle==null){
sbSerieStyle = (SourceBean)content.getAttribute("CONF.STYLE_SLIDER_AREA");
}
if(sbSerieStyle!=null){
List atts=sbSerieStyle.getContainedAttributes();
String StyleValue = "";
for (Iterator iterator = atts.iterator(); iterator.hasNext();) {
SourceBeanAttribute object = (SourceBeanAttribute) iterator.next();
String styleLabel=(String)object.getKey();
StyleValue=new String((String)object.getValue());
if(StyleValue!=null){
if (styleLabel.equalsIgnoreCase("font")) styleLabel = "font-family";
else if (styleLabel.equalsIgnoreCase("size")) styleLabel = "font-size";
else if (styleLabel.equalsIgnoreCase("color")) styleLabel = "color";