@datagrok/curves 1.5.0 → 1.6.0
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/curves",
|
|
3
3
|
"friendlyName": "Curves",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.6.0",
|
|
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",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@datagrok-libraries/statistics": "^1.4.0",
|
|
12
|
-
"@datagrok-libraries/utils": "^4.
|
|
12
|
+
"@datagrok-libraries/utils": "^4.3.0",
|
|
13
13
|
"@types/wu": "^2.1.42",
|
|
14
14
|
"cash-dom": "^8.0.0",
|
|
15
|
-
"datagrok-api": "^1.
|
|
15
|
+
"datagrok-api": "^1.21.1",
|
|
16
16
|
"dayjs": "^1.11.7",
|
|
17
17
|
"rxjs": "^6.5.5"
|
|
18
18
|
},
|
|
@@ -254,9 +254,9 @@ export class FitGridCellHandler extends DG.ObjectHandler {
|
|
|
254
254
|
const columnChartOptions = getColumnChartOptions(gridCell.cell.column);
|
|
255
255
|
const dfChartOptions = getDataFrameChartOptions(gridCell.cell.dataFrame);
|
|
256
256
|
|
|
257
|
-
const seriesOptionsRefresh = {onValueChanged: (inputBase: DG.InputBase) =>
|
|
257
|
+
const seriesOptionsRefresh = {onValueChanged: (v: any, inputBase: DG.InputBase) =>
|
|
258
258
|
changeCurvesOptions(gridCell, inputBase, SERIES_OPTIONS, switchLevelInput.value)};
|
|
259
|
-
const chartOptionsRefresh = {onValueChanged: (inputBase: DG.InputBase) =>
|
|
259
|
+
const chartOptionsRefresh = {onValueChanged: (v: any, inputBase: DG.InputBase) =>
|
|
260
260
|
changeCurvesOptions(gridCell, inputBase, CHART_OPTIONS, switchLevelInput.value)};
|
|
261
261
|
|
|
262
262
|
if (!isColorValid(dfChartOptions.seriesOptions?.pointColor) && !isColorValid(columnChartOptions.seriesOptions?.pointColor)) {
|
|
@@ -314,13 +314,13 @@ export class FitGridCellHandler extends DG.ObjectHandler {
|
|
|
314
314
|
const seriesStatsProperty = DG.Property.js('series', DG.TYPE.STRING,
|
|
315
315
|
{description: 'Controls whether to show series statistics or aggregated statistics',
|
|
316
316
|
defaultValue: 'All', choices: ['all', 'aggregated'], nullable: false});
|
|
317
|
-
const seriesStatsInput = ui.input.forProperty(seriesStatsProperty, null, {onValueChanged(
|
|
317
|
+
const seriesStatsInput = ui.input.forProperty(seriesStatsProperty, null, {onValueChanged: () => {
|
|
318
318
|
acc.getPane('Fit').root.lastElementChild!.replaceChildren(createFitPane());
|
|
319
319
|
}});
|
|
320
320
|
const aggrTypeProperty = DG.Property.js('aggregation type', DG.TYPE.STRING,
|
|
321
321
|
{description: 'Controls which aggregation to use on the series statistics',
|
|
322
322
|
defaultValue: 'med', choices: Object.values(DG.STATS), nullable: false});
|
|
323
|
-
const aggrTypeInput = ui.input.forProperty(aggrTypeProperty, null, {onValueChanged(
|
|
323
|
+
const aggrTypeInput = ui.input.forProperty(aggrTypeProperty, null, {onValueChanged: () => {
|
|
324
324
|
acc.getPane('Fit').root.lastElementChild!.replaceChildren(createFitPane());
|
|
325
325
|
}});
|
|
326
326
|
|