moved layout creation to transform chart method and added some more getters and setters