@datagrok/curves 1.2.6 → 1.2.7
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 +27 -0
- package/README.md +3 -0
- package/dist/package-test.js +131 -166
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +299 -81
- package/dist/package.js.map +1 -1
- package/package.json +2 -2
- package/src/fit/cell-render-viewer.js +7 -0
- package/src/fit/cell-render-viewer.js.map +1 -1
- package/src/fit/cell-render-viewer.ts +8 -0
- package/src/fit/fit-grid-cell-handler.js +172 -9
- package/src/fit/fit-grid-cell-handler.js.map +1 -1
- package/src/fit/fit-grid-cell-handler.ts +174 -8
- package/src/fit/fit-renderer.js +71 -41
- package/src/fit/fit-renderer.js.map +1 -1
- package/src/fit/fit-renderer.ts +77 -43
- package/src/tests/transform-tests.js +2 -2
- package/src/tests/transform-tests.js.map +1 -1
- package/src/tests/transform-tests.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Curves changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.7 (2023-09-11)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* [#2103](https://github.com/datagrok-ai/public/issues/2103): Property panel changes:
|
|
8
|
+
* Added color for the series in the property panel
|
|
9
|
+
* Added capability to store charts options on the dataframe level in tags
|
|
10
|
+
* Restructured the property panel
|
|
11
|
+
* Added dataframe and plot-only switch modes in the property panel
|
|
12
|
+
* Made the accordion to restore the property panel state
|
|
13
|
+
* Added proper tooltips on properties
|
|
14
|
+
* Implemented the capability to switch the plots state on the property panel
|
|
15
|
+
* [#2101](https://github.com/datagrok-ai/public/issues/2101): Improved curves properties and rendering:
|
|
16
|
+
* Decreased the sizes for the plot title rendering
|
|
17
|
+
* Changed the min axes cell width
|
|
18
|
+
* Added errorModel property
|
|
19
|
+
* [#2100](https://github.com/datagrok-ai/public/issues/2100): Made cell renderer edit mode a resizeable window
|
|
20
|
+
* [#2106](https://github.com/datagrok-ai/public/issues/2106): Added documentation about property panel and error model
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* [#2101](https://github.com/datagrok-ai/public/issues/2101): Improved curves properties and rendering:
|
|
25
|
+
* Added dataBounds checks in case of logarithmic values
|
|
26
|
+
* Fixed droplines rendering for linear and logarithmic modes
|
|
27
|
+
* Fixed the tooltip for small cells
|
|
28
|
+
* Fixed confidence intervals rendering for logarithmic modes
|
|
29
|
+
|
|
3
30
|
## 1.2.6 (2023-08-25)
|
|
4
31
|
|
|
5
32
|
### Features
|
package/README.md
CHANGED
|
@@ -17,6 +17,7 @@ including in-grid rendering, storing charts in cells, interactivity, and automat
|
|
|
17
17
|
- Ability to define chart, marker, or fitting options (such as fit function or marker color)
|
|
18
18
|
on the column level, with the ability to override it on a grid cell or point level
|
|
19
19
|
- Clicking a point in a chart within a grid makes it an outlier -> curve is re-fitted on the fly
|
|
20
|
+
- Ability to switch curves parameters from the property panel on different levels (dataframe, column, cell)
|
|
20
21
|
- Ability to specify a chart as a "reference" so that it is shown on every other chart for comparison
|
|
21
22
|
- Ability to overlay curves from multiple grid cells (special viewer)
|
|
22
23
|
- Work with series stored in multiple formats (binary for performance, JSON for flexibility, etc.)
|
|
@@ -35,6 +36,7 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
35
36
|
"confidenceIntervalColor": "#fbec5d",
|
|
36
37
|
"markerType": "circle",
|
|
37
38
|
"lineStyle": "dashed",
|
|
39
|
+
"errorModel": "proportional",
|
|
38
40
|
"showFitLine": true,
|
|
39
41
|
"showCurveConfidenceInterval": true,
|
|
40
42
|
"fitFunction": "sigmoid",
|
|
@@ -79,6 +81,7 @@ Each series has its own parameters, such as:
|
|
|
79
81
|
- `confidenceIntervalColor` - overrides the standardized series confidence interval color
|
|
80
82
|
- `markerType` - defines the series marker type, which could be `circle`, `asterisk`, `square`, etc.
|
|
81
83
|
- `lineStyle` - defines the series line style, which could be `solid`, `dotted`, `dashed` or `dashdotted`
|
|
84
|
+
- `errorModel` - defines the series error model, which could be either `constant` or `proportional`
|
|
82
85
|
- `showFitLine` - defines whether to show the fit line or not
|
|
83
86
|
- `showCurveConfidenceInterval` - defines whether to show the confidence intervals or not
|
|
84
87
|
- `fitFunction` - controls the series fit function, which could be either a sigmoid function or a
|