How To
Documentation
    Learn More

      chart:export

      Description

      To give users the option to export a chart include the Chart Export tag within the Chart Display tag. Adding the tag will enable exporting without adding any attributes. This tag must be nested in the Chart Display tag.

      Usage

      as element:
      <chart:export
             [file-name="{string}"]
             [url="{string}"]>
      </chart:export>

      Directive info

      • This directive creates new scope.

      Parameters

      ParamTypeDetails
      file-name
      (optional)
      string

      Custom name for the file when downloaded, if nothing is entered it will default to 'chart'.

      url
      (optional)
      string

      Url of the export server, if left blank it will use the providers export server.

      Example

      Source

      
      
      
      
      
      

      Demo