Improve single chart logic. Add data, legend and series type for multiple series automatically