Top

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:

Name Type Description
value string New file name.

Returns:

string - Current file name.

Try it:

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:

    Name Type Description
    address string Export server script URL.

    Returns:

    string - Export server script URL.

    Try it: