@opendata-ai/openchart-core 7.6.0 → 7.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 +8 -0
- package/package.json +1 -1
- package/src/types/layout.ts +8 -0
package/dist/index.d.ts
CHANGED
|
@@ -3660,6 +3660,14 @@ interface CompileOptions {
|
|
|
3660
3660
|
measureText?: MeasureTextFn;
|
|
3661
3661
|
/** Extra pixels to reserve on the right margin for a secondary y-axis. Set by compileLayer when resolve.scale.y is 'independent'. */
|
|
3662
3662
|
rightAxisReserve?: number;
|
|
3663
|
+
/**
|
|
3664
|
+
* Use this chart drawing area instead of computing one from chrome, axes,
|
|
3665
|
+
* and legend reservations. Set by compileLayer when compiling leaf layers so
|
|
3666
|
+
* their marks land in the primary layout's coordinate space; leaf specs lack
|
|
3667
|
+
* the layer-level chrome/legend/theme and would otherwise compute a
|
|
3668
|
+
* different area than the one the axes are rendered in.
|
|
3669
|
+
*/
|
|
3670
|
+
frozenChartArea?: Rect;
|
|
3663
3671
|
}
|
|
3664
3672
|
/** Extended compile options for table visualizations. */
|
|
3665
3673
|
interface CompileTableOptions extends CompileOptions {
|
package/package.json
CHANGED
package/src/types/layout.ts
CHANGED
|
@@ -1448,6 +1448,14 @@ export interface CompileOptions {
|
|
|
1448
1448
|
measureText?: MeasureTextFn;
|
|
1449
1449
|
/** Extra pixels to reserve on the right margin for a secondary y-axis. Set by compileLayer when resolve.scale.y is 'independent'. */
|
|
1450
1450
|
rightAxisReserve?: number;
|
|
1451
|
+
/**
|
|
1452
|
+
* Use this chart drawing area instead of computing one from chrome, axes,
|
|
1453
|
+
* and legend reservations. Set by compileLayer when compiling leaf layers so
|
|
1454
|
+
* their marks land in the primary layout's coordinate space; leaf specs lack
|
|
1455
|
+
* the layer-level chrome/legend/theme and would otherwise compute a
|
|
1456
|
+
* different area than the one the axes are rendered in.
|
|
1457
|
+
*/
|
|
1458
|
+
frozenChartArea?: Rect;
|
|
1451
1459
|
}
|
|
1452
1460
|
|
|
1453
1461
|
/** Extended compile options for table visualizations. */
|