@datagrok/curves 1.2.14 → 1.2.15
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/CHANGELOG.md +10 -0
- package/README.md +2 -0
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/fit/fit-renderer.ts +38 -3
- package/src/fit/multi-curve-viewer.ts +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Curves changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.15 (2023-11-17)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* [#2101](https://github.com/datagrok-ai/public/issues/2101): Added capability to substitute zeroes in curve fitting for logarithmic data
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fixed MultiCurveViewer throws an errors when adding to an arbitrary dataset
|
|
12
|
+
|
|
3
13
|
## 1.2.14 (2023-11-10)
|
|
4
14
|
|
|
5
15
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -69,6 +69,7 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
69
69
|
"yAxisName": "Activity",
|
|
70
70
|
"logX": true,
|
|
71
71
|
"logY": false,
|
|
72
|
+
"allowXZeroes": true,
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
75
|
```
|
|
@@ -105,6 +106,7 @@ Each chart has its own parameters as well, such as:
|
|
|
105
106
|
- `title` - defines the plot title. If the plot size is enough, will render it
|
|
106
107
|
- `xAxisName`, `yAxisName` - defines the x and y axis names. If the plot size is enough, will render it
|
|
107
108
|
- `logX`, `logY` - defines whether the x and y data should be logarithmic or not
|
|
109
|
+
- `allowXZeroes` - defines whether x zeroes allowed for logarithmic data or not. If the flag is true, it will calculate the approximate log(0) that will fit the chart
|
|
108
110
|
- `showStatistics` - defines the statistics that would be shown on the plot (such as the area under the curve
|
|
109
111
|
(`auc`) or the coefficient of determination (`rSquared`))
|
|
110
112
|
|