@opendata-ai/openchart-engine 8.5.2 → 8.6.1
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/dist/index.d.ts +4 -0
- package/dist/index.js +640 -58
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1021,6 +1021,10 @@ declare function legendGap(width: number): number;
|
|
|
1021
1021
|
* - If `as` is a string: adds `as` with the bin start value.
|
|
1022
1022
|
* - If `as` is [start, end]: adds both bin start and bin end fields.
|
|
1023
1023
|
*
|
|
1024
|
+
* When `params.scaleType` is `'log'`, bins are log-spaced (equal width in log
|
|
1025
|
+
* space). This is auto-detected by the histogram mark when the x scale is
|
|
1026
|
+
* logarithmic.
|
|
1027
|
+
*
|
|
1024
1028
|
* @param data - Input rows.
|
|
1025
1029
|
* @param transform - Bin transform definition.
|
|
1026
1030
|
* @returns New rows with binned field(s) added.
|