AnyChart
API Reference
Still have questions?
Contact support
Top
You are looking at an outdated 7.11.0 version of this document. Switch to the 8.4.0 version to see the up to date information.

namespace anychart.exports Improve this Doc

Namespace anychart.exports

Functions Overview

filename()Setter and getter for the file name for exported files.
server()Setter for an address export server script, which is used to export to an image or PDF.

Functions Description

filename

Setter and getter for the file name for exported files.

Params:

NameTypeDescription
valuestringNew file name.

Returns:

string - Current file name.

server

Setter for an address export server script, which is used to export to an image or PDF.
See:
  • anychart.graphics.vector.Stage#saveAsPdf
  • anychart.graphics.vector.Stage#saveAsPng
  • anychart.graphics.vector.Stage#saveAsJpg
  • anychart.graphics.vector.Stage#saveAsSvg
  • Params:

    NameTypeDescription
    addressstringExport server script URL.

    Returns:

    string - Export server script URL.