@datagrok/curves 1.4.2 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@datagrok/curves",
3
3
  "friendlyName": "Curves",
4
- "version": "1.4.2",
4
+ "version": "1.4.4",
5
5
  "description": "Curves provides support for fitted curves (such as dose-response curves), including in-grid rendering, storing charts in cells, interactivity, and automatic fitting.",
6
6
  "author": {
7
7
  "name": "Dmytro Kovalyov",
8
8
  "email": "dkovalyov@datagrok.ai"
9
9
  },
10
10
  "dependencies": {
11
- "@datagrok-libraries/statistics": "^1.3.2",
12
- "@datagrok-libraries/utils": "^4.1.45",
11
+ "@datagrok-libraries/statistics": "^1.3.5",
12
+ "@datagrok-libraries/utils": "^4.2.11",
13
13
  "@types/wu": "^2.1.42",
14
14
  "cash-dom": "^8.0.0",
15
15
  "datagrok-api": "^1.18.0",
@@ -403,8 +403,9 @@ export class FitChartCellRenderer extends DG.GridCellRenderer {
403
403
  showAxesLabels: this.areAxesLabelsShown(screenBounds, data), screenBounds, curveFunc: curve!});
404
404
  renderConfidenceIntervals(g, series, {viewport, logOptions: chartLogOptions, showAxes: this.areAxesShown(screenBounds),
405
405
  showAxesLabels: this.areAxesLabelsShown(screenBounds, data), screenBounds, fitFunc, userParamsFlag});
406
- renderDroplines(g, series, {viewport, ratio, showDroplines: this.areDroplinesShown(screenBounds),
407
- xValue: series.parameters![2], dataBounds, curveFunc: curve!, logOptions: chartLogOptions});
406
+ if (series.parameters)
407
+ renderDroplines(g, series, {viewport, ratio, showDroplines: this.areDroplinesShown(screenBounds),
408
+ xValue: series.parameters![2], dataBounds, curveFunc: curve!, logOptions: chartLogOptions});
408
409
  renderStatistics(g, series, {statistics: data.chartOptions?.showStatistics, fitFunc,
409
410
  logOptions: chartLogOptions, dataBox});
410
411
  }