else if (propName.equals("chart.instance")) { this.cm = (Chart) value; }
    public void setProperty(String propName, Object value)    {        DefaultLoggerImpl.instance()            .log(ILogger.INFORMATION, "setProperty(...) - " + propName + " with value " + value);        if (propName.equals("title.value"))        {            cm.getTitle().getLabel().getCaption().setValue((String) value);        }        else if (propName.equals("title.font.rotation"))        {            cm.getTitle().getLabel().getCaption().getFont().setRotation(((Double) value).doubleValue());        }        else if (propName.equals("legend.position"))        {            cm.getLegend().setPosition(Position.get((String) value));        }        else if (propName.equals("legend.anchor"))        {            cm.getLegend().setAnchor(Anchor.get((String) value));        }        else if (propName.equals("chart.dimension"))        {            cm.setDimension(ChartDimension.get((String) value));        }        else if (propName.equals("plot.transposed"))        {            if (cm instanceof ChartWithAxes)            {                ((ChartWithAxes) cm).setTransposed(((Boolean) value).booleanValue());            }            else            {                DefaultLoggerImpl.instance()                    .log(ILogger.ERROR, "Cannot set 'transposed' state on a chart without axes");            }        }        if (oDesignerRepresentation != null)        {            ((DesignerRepresentation) oDesignerRepresentation).setDirty(true);        }    }