@opendata-ai/openchart-core 6.9.0 → 6.10.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/dist/index.d.ts +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/types/spec.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -321,6 +321,12 @@ interface EncodingChannel {
|
|
|
321
321
|
axis?: AxisConfig;
|
|
322
322
|
/** Scale configuration. */
|
|
323
323
|
scale?: ScaleConfig;
|
|
324
|
+
/**
|
|
325
|
+
* Stacking behavior for quantitative channels (Vega-Lite aligned).
|
|
326
|
+
* - undefined | true | 'zero': stack (default, cumulative segments)
|
|
327
|
+
* - null | false: no stacking (grouped/dodged side-by-side)
|
|
328
|
+
*/
|
|
329
|
+
stack?: boolean | 'zero' | null;
|
|
324
330
|
}
|
|
325
331
|
/**
|
|
326
332
|
* Encoding object mapping visual channels to data fields.
|