How to Export the Remote Spreadsheet Chart to other formats: Step-by-Step Guide

Export a cloud spreadsheet/Excel chart to a another format file with the Aspose.Cells Cloud Web API.

Export Chart as Format API

API Endpoint

GET http://api.aspose.cloud/v4.0/cells/{name}/worksheets/{worksheet}/charts/{chartIndex}

Request Parameters:

Parameter Name Type Path/Query String/HTTPBody Description
name String Path (Required) The name of the workbook file to be retrieved.
worksheet String Path Worksheet name
chartIndex Integer Path Chart index
format String Query (Required) The desired output format (e.g., “png”, “pdf”, “svg”).
folder String Query (Optional) The folder path where the workbook is stored; defaults to null.
storageName String Query (Optional) The name of the storage if using custom cloud storage; use default storage if omitted.
outPath String Query (Optional) The folder path where the workbook is stored; defaults to null.
outStorageName String Query Output file storage name.
fontsLocation String Query Use custom fonts.
region String Query The spreadsheet region setting.
password String Query The password for opening the spreadsheet file.

Response

[
    {
        "Name": "ResponseFile",
        "DataType": {
            "Identifier": "File",
            "Reference": "Stream"
        }
    }
]

Error Codes

  • 400 Bad Request: Invalid Aspose.Cells Cloud API URI.
  • 401 Unauthorized: Invalid access token. Or invalid client id and secret.
  • 404 Not Found: The spreadsheet file not accessible.
  • 500 Server Error: The spreadsheet has encountered an anomaly in obtaining calculation data.

Where should you use the Export Chart to another format API?

1. Business Reporting & Automation

  • Financial Departments: Monthly financial report charts
  • Sales Teams: Performance trend charts
  • Marketing Analytics: Campaign performance charts
  • Operations Management: Production monitoring charts

2. Software Development & Integration

  • SaaS Applications: User-generated chart data
  • Enterprise Systems: ERP/CRM system charts
  • Mobile Applications: In-app analytics charts
  • Web Applications: Dashboard charts

3. Document Processing Workflows

  • Batch Processing: Multiple Excel file charts converted to PDF simultaneously
  • Scheduled Tasks: Automated daily/weekly chart report generation
  • Template-based Outputs: Standard chart formats
  • Document Assembly: Combine charts with other content in PDF format

4. Industry-Specific Applications

  • Research Institutions: Experimental data charts
  • Education Sector: Educational material charts
  • Consulting Firms: Analysis charts
  • Manufacturing: Quality control charts
  • Healthcare: Patient data charts
  • Government: Statistical charts

5. Content Management & Distribution

  • Digital Asset Management: Chart archiving in standardized PDF/Image format
  • Knowledge Bases: Technical documentation with embedded chart PDFs/Images
  • Client Portals: Secure PDF/Image report delivery to stakeholders
  • Regulatory Compliance: Audit-ready PDF/Image documentation generation

Why should you use the Export Chart to another format API?

  • Developer-Friendly: Aspose.Cells Cloud offers SDK libraries in multiple languages, enabling quick development and comes with comprehensive documentation. Compared to building custom chart rendering solutions, this significantly reduces the development workload.
  • Reduced Labor Costs: Reduced the need for positions dedicated to document consolidation.
  • Pay-per-use: No upfront investment, only pay for API calls actually used.
  • Zero Maintenance Costs: No need to maintain servers, update software, or deal with compatibility issues.
  • Preserves complex Excel formatting in universally accessible PDF format.

How to Use the Export Spreadsheet Chart as Format API with SDKs?

Export Chart as Format API Specification

The Export Chart as Format API Specification defines a publicly accessible programming interface, allowing you to carry out REST interactions directly from a web browser.

Use Aspose.Cells Cloud SDKs

Using the SDK is the fastest way to develop, as it abstracts away the low-level details, allowing you to export a spreadsheet chart data to a format file with short code. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs. The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: