if(al!=null){
for(int i=0;i<al.size();i++){
Limit c = (Limit) al.get(i);
LimitShape cs = c.shape;
LimitPropertiesPanel.LimitParameters cp=new LimitPropertiesPanel.LimitParameters(c.getLabel());
cp.strokeParams = new StrokeParameters(c.dashParam1 ,c.dashParam2);
cp.color=c.color;
cp.isVertical = cs.getIsVertical();
cp.secondaryAxis = c.secondaryAxis;
cp.position = cs.getPosition();
l.add(cp);