export method

String export([
  1. String mimeType,
  2. String callback(
    1. String dataUrl
    )
])

Export chart as an image.

  • NOTE:
  • IE11 and below not work properly due to the lack of the feature(foreignObject) support
  • The basic CSS file(ex. billboard.css) should be at same domain as API call context to get correct styled export image.

Implementation

external String export(
    /*Chart this*/ [String mimeType, String callback(String dataUrl)]);