highcharts
Version:
JavaScript charting framework
34 lines (33 loc) • 1.04 kB
TypeScript
/*!*
*
* Copyright (c) Highsoft AS. All rights reserved.
*
*!*/
import * as globals from "../globals.src";
import * as _Highcharts from "../highcharts.src";
declare module "../highcharts.src" {
/**
* Get data URL to an image of an SVG and call download on it options
* object:
*
* - **filename:** Name of resulting downloaded file without extension.
* Default is `chart`.
*
* - **type:** File type of resulting download. Default is `image/png`.
*
* - **scale:** Scaling factor of downloaded image compared to source.
* Default is `1`.
*
* - **libURL:** URL pointing to location of dependency scripts to download
* on demand. Default is the exporting.libURL option of the global
* Highcharts options pointing to our server.
*
* @param svg
* The generated SVG
*
* @param options
* The exporting options
*/
function downloadSVGLocal(svg: string, options: ExportingOptions): void;
}
export default _Highcharts;