@highcharts/dashboards
Version:
Highcharts Dashboards framework
49 lines (48 loc) • 944 B
JavaScript
/* *
*
* Dashboards default options
*
* (c) 2009-2026 Highsoft AS
*
* Integration of this software requires a license.
* - For commercial use, see www.highcharts.com/license
* - For non-commercial, see www.highcharts.com/license-eula
*
*
* */
;
import { merge } from '../Shared/Utilities.js';
/**
* Default options for the Board.
*/
export const defaultOptions = {
gui: {
enabled: true,
layoutOptions: {
rowClassName: void 0,
cellClassName: void 0
},
layouts: []
},
components: []
};
/**
* Merge the default options with custom options. Commonly used for defining
* reusable templates.
*
* @param options
* The new custom board options.
*/
export function setOptions(options) {
merge(true, defaultOptions, options);
}
/* *
*
* Default Export
*
* */
const Defaults = {
defaultOptions,
setOptions
};
export default Defaults;