if (color != null)
{
plot.setBackcolor(color);
}
PlotOrientationEnum orientation = PlotOrientationEnum.getByName(atts.getValue(JRXmlConstants.ATTRIBUTE_orientation));
if (orientation != null)
{
plot.setOrientation(orientation.getOrientation());
}
String foregroundAlpha = atts.getValue(JRXmlConstants.ATTRIBUTE_foregroundAlpha);
if (foregroundAlpha != null && foregroundAlpha.length() > 0)
{
plot.setForegroundAlpha(Float.valueOf(foregroundAlpha));