Skip to content

Commit db72fc4

Browse files
authored
remove boost from chart (#415)
1 parent ea8e10a commit db72fc4

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

packages/spectra/src/Components/SpectraViewer/ChartOptions.jsx

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const toolTipRow = (entry) => {
2828
const DEFAULT_OPTIONS = {
2929
plotOptions: {
3030
series: {
31-
boostThreshold: 800,
31+
boostThreshold: 0, // keep boost disabled (no boost module loaded)
3232
findNearestPointBy: "x",
3333
stickyTracking: true,
3434
events: {
@@ -49,17 +49,6 @@ const DEFAULT_OPTIONS = {
4949
},
5050
},
5151
},
52-
boost: {
53-
useGPUTranslations: true,
54-
seriesThreshold: 50,
55-
enabled: true,
56-
allowForce: false,
57-
debug: {
58-
showSkipSummary: true,
59-
timeSeriesProcessing: true,
60-
timeRendering: true,
61-
},
62-
},
6352
chart: {
6453
type: "areaspline",
6554
zoomType: "x",

packages/spectra/src/Components/SpectraViewer/SpectraViewer.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import "highcharts/modules/exporting"
1616
import "highcharts/modules/offline-exporting"
1717
import "highcharts/modules/pattern-fill"
1818
import "highcharts/modules/export-data"
19-
import "highcharts/modules/boost"
2019
import LinearProgress from "@mui/material/LinearProgress"
2120
import { defaultChartOptions } from "../../defaults"
2221
import useSpectraData from "../../hooks/useSpectraData"
@@ -47,7 +46,6 @@ const {
4746
exporting: _exporting,
4847
legend: _legend,
4948
tooltip: _tooltip,
50-
boost: _boost,
5149
} = DEFAULT_OPTIONS
5250

5351
const BaseSpectraViewerContainer = React.memo(function BaseSpectraViewerContainer({

0 commit comments

Comments
 (0)