add stackedGraph option