Change charts configuration: from Object to Array.