if(m_DiagramType == VENNDIAGRAM)
m_Diagram = new VennDiagram(this, getGui(), m_xFrame);
if(m_DiagramType == CYCLEDIAGRAM)
m_Diagram = new CycleDiagram(this, getGui(), m_xFrame);
if(m_DiagramType == PYRAMIDDIAGRAM)
m_Diagram = new PyramidDiagram(this, getGui(), m_xFrame);
if(m_DiagramType == TARGETDIAGRAM)
m_Diagram = new TargetDiagram(this, getGui(), m_xFrame);
if(m_DiagramType == CONTINUOUSBLOCKPROCESS)
m_Diagram = new ContinuousBlockProcess(this, getGui(), m_xFrame);
if(m_DiagramType == STAGGEREDPROCESS)