UNPKG

highcharts-export-server

Version:

**Note:** If you use the public Export Server at [https://export.highcharts.com](https://export.highcharts.com) you should read our [Terms of use and Fair Usage Policy](https://www.highcharts.com/docs/export-module/privacy-disclaimer-export). Note that a

35 lines (25 loc) 718 B
/******************************************************************************* Highcharts Export Server Copyright (c) 2016-2024, Highsoft Licenced under the MIT licence. Additionally a valid Highcharts license is required for use. See LICENSE file in root for details. *******************************************************************************/ import cssTemplate from './css.js'; export default (chart) => ` <!DOCTYPE html> <html lang='en-US'> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Highcharts Export</title> </head> <style> ${cssTemplate()} </style> <body> <div id="chart-container"> ${chart} </div> </body> </html> `;