@opendata-ai/openchart-core 9.0.0-rc.1 → 9.0.0-rc.2

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 CHANGED
@@ -4685,6 +4685,13 @@ type Display = 'full' | 'sparkline';
4685
4685
  * when the container matches the breakpoint.
4686
4686
  */
4687
4687
  interface ChartSpecOverride {
4688
+ /** Patch axis and scale settings on existing scale-bearing channels; nested properties merge with the base. */
4689
+ encoding?: {
4690
+ [K in 'x' | 'y' | 'color' | 'size']?: {
4691
+ axis?: AxisConfig | false;
4692
+ scale?: Omit<ScaleConfig, 'scheme' | 'reverse'>;
4693
+ };
4694
+ };
4688
4695
  /** Override editorial chrome at this breakpoint. */
4689
4696
  chrome?: Chrome;
4690
4697
  /** Override label configuration at this breakpoint. */