PageSourceSearch

https://lahioluvut.fi/highcharts-9.3.1/custom/reset.js

js lahioluvut.fi collected 2026-09-27 10:11:36 UTC 557 bytes, 12 lines download raw bytes

1var HCDefaults = $.extend(true, {}, Highcharts.getOptions(), {});
2
3function ResetHighchartsOptions() {
4    // Fortunately, Highcharts returns the reference to defaultOptions itself
5    // We can manipulate this and delete all the properties
6    var defaultOptions = Highcharts.getOptions();
7    for (var prop in defaultOptions) {
8        if (typeof defaultOptions[prop] !== 'function') delete defaultOptions[prop];
9    }
10    // Fall back to the defaults that we captured initially, this resets the theme
11    Highcharts.setOptions(HCDefaults);
12}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.