change the diagram interface in server side
          add title
          remove legend
          add chartType option