change the style of the diagramm without changing the content