chart rendering with correct dates, data, data lines