added line and scatter chart differentiation