JavascriptFormat overview

Constructors

 Constructor

Public Fields

 FileExtension (inherited from ExportFormat)String holds default file extension for export file types

Public Methods

 CopyToClipboard (inherited from ImageExportFormat)Copy image to clipboard
 GetContent
 InitVars
 Save

Public Properties

 BodyHTMLAdvanced use only. Use this property to nodify HTML page content that includes the Canvas object.
 CanvasNameSets the HTML5 Canvas name. Uses "canvas1" as default. If you have multiple canvases on the browser page you will need to control this variabe to give each canvas a unique name.
 ChartNameSets the Chart name. Uses "chart1" as default. If you have multiple charts on the browser page you will need to control this variabe to give each charta a unique name.
 CustomCodeAdvanced use only. Use this property to set Javascript codelines to be run after other automatically generated TeeChart code and before the Chart's '.draw' call.
 DoFullPageWhen True adds default header and footer to Chart code, creating an entire page with the HTML5 Canvas. Set to false if you wish to design your own page to incorporate the TeeChart code.
 ExternalCodeAdvanced use only. Use this property to set Javascript codelines to be run before the default TeeChart draw method. As external functions you can call them by adding call lines to the CustomCode script that is run just before the Chart draw.
 ExtraHeaderLinesUse this property to add/remove any additional header lines including link css lines.
 Height (inherited from ImageExportFormat)Image height
 SourceScriptPathSet the source script to the location of the teechart.js source files. Default location depends on latest build. eg: "https://www.steema.com/files/public/teechart/html5/latest/src". You can download the TeeChart javascript files to your own location as required. Steema Software offers Commercial and Non-Commercial License options for use of TeeChart for Javascript. See the TeeChart for Javascript license information here https://www.steema.com/licensing/html5, or contact us for more information.
 SourceUnitsUse this property to add/remove any source units you wish to use from the default list. Defaults are: teechart.js and teechart-extras.js.
 Transparent
 Width (inherited from ImageExportFormat)Image width

Protected Fields

 sbStream
 swFromStream

Protected Methods

 AddChartToStreamAdds instruction to stream.
 AddHeader
 SupportsTransparent (inherited from ImageExportFormat)

Protected Properties

 DataFormat (inherited from ImageExportFormat)
 Format (inherited from ImageExportFormat)Accesses the ImageFormat of the Chart Image to be exported

See Also

JavascriptFormat Class | Steema.TeeChart.Export Namespace