Export chart using API method

   Select a format