"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.performanceWarnings = void 0;
var OneTimePerformanceWarning_1 = require("../Core/OneTimePerformanceWarning");
var toDisable = ". To disable this warning set SciChartDefaults.performanceWarnings = false";
exports.performanceWarnings = {
    dataDistributionFlagNaN: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("Data Distribution flag (BaseDataSeries.containsNaN = false) can be applied to improve performance. Read this website article https://www.scichart.com/documentation/js/current/DataSeries_Resampling.html for more info" +
        toDisable),
    dataDistributionFlagSortedAscending: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("Data Distribution flag (BaseDataSeries.isSorted = true) can be applied to improve performance. Read this website article https://www.scichart.com/documentation/js/current/DataSeries_Resampling.html for more info" +
        toDisable),
    subchartBackgroundNotSimpleColor: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("When using isTransparent: false on a SubChart, the background needs to be a simple color, not an html gradient (which the default theme uses)" +
        toDisable),
    dataLabelsSkippingMany: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("DataLabelProvider generated many more labels than it could display.  To improve performance consider increasing the pointGapThreshold, increasing the skipNumber, or decreasing the pointCountThreshold" +
        toDisable),
    dateTimeDeltaCalculatorBadDelta: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("The DateTimeDeltaCalculator could not find a suitable delta given the current settings. " +
        "Either increase axis.maxAutoTicks, set axis.deltaCalculator.minTicks less than maxAutoTicks / 3, " +
        "or set possibleDeltas to an array containing more closely spaced values" +
        toDisable),
    wasmContextAutoDisposeDisabled: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("SciChartSurface.autoDisposeWasmContext is disabled, thus wasmContext should be disposed explicitly using \"SciChartSurface.disposeSharedWasmContext()\"."),
    wasmContext3DAutoDisposeDisabled: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("SciChart3DSurface.autoDisposeWasmContext is disabled, thus wasmContext should be disposed explicitly using \"SciChartSurface.disposeSharedWasmContext()\"."),
    labelCacheTooSmall: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("The label cache is growing to more than twice its configured size between pruning events.  \n        Either increase the size (labelCache.setMaxSize) or reduce the time between prunings (labelCache.setMinAge)" +
        toDisable),
    wasmSimdWarning: new OneTimePerformanceWarning_1.OneTimePerformanceWarning("WebAssembly SIMD is not supported by your browser or disabled by config. " +
        "Ensure you serve the files scichart2d-nosimd.wasm and scichart3d-nosimd.wasm" +
        toDisable, false // this warning is called before wasm initialised so there is no license manager state
    )
};
