Added graph type selection