@graphysdk/react-renderer 1.9.0-beta.1794562383320 → 1.9.0-beta.1794563106460

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.
@@ -1,4 +1,3 @@
1
- import { AxisKey } from '@graphysdk/viz-engine';
2
1
  import { BoxSize } from '@graphysdk/viz-engine';
3
2
  import { CartesianCoordSystem } from '@graphysdk/viz-engine';
4
3
  import { ColorScheme } from '@graphysdk/viz-engine';
@@ -39,6 +38,7 @@ import { RenderHitTester } from '@graphysdk/viz-engine';
39
38
  import { ResolvedHeadlineSize } from '@graphysdk/viz-engine';
40
39
  import { ResolvedObservationAnchorSpec } from '@graphysdk/viz-engine';
41
40
  import { ResolvedPaint } from '@graphysdk/viz-engine';
41
+ import { ScaledPositionAestheticKey } from '@graphysdk/viz-engine';
42
42
  import { Scene } from '@graphysdk/viz-engine';
43
43
  import { SceneLayer } from '@graphysdk/viz-engine';
44
44
  import { SceneLayerFor } from '@graphysdk/viz-engine';
@@ -65,7 +65,7 @@ export declare interface AnnotateAnchor {
65
65
  */
66
66
  export declare const AppearanceSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
67
67
 
68
- /** Both axes, each switched on and off from within its own section. */
68
+ /** The chart's axes. The second y axis joins them when the chart draws one. */
69
69
  export declare const AxesPanel: ({ children, ...rootProps }: PanelProps) => JSX.Element;
70
70
 
71
71
  /** The selected axis's rows: its title, labels, position, scale, start and end. The overlay menu draws the heading above. */
@@ -99,8 +99,8 @@ declare interface AxisLabelSlotProps {
99
99
  export declare const AxisSection: ({ axis, title, layout, preview }: AxisSectionProps) => JSX.Element | null;
100
100
 
101
101
  export declare interface AxisSectionProps extends OverridableSectionProps {
102
- /** Which axis this section edits. */
103
- axis: AxisKey;
102
+ /** Which axis this section edits. `ySecondary` returns nothing unless that scale exists. */
103
+ axis: ScaledPositionAestheticKey;
104
104
  }
105
105
 
106
106
  /**
@@ -1018,6 +1018,7 @@ declare const EDITOR_EN_GB: {
1018
1018
  readonly mainAxisSection: {
1019
1019
  readonly yAxis: "Y-axis";
1020
1020
  readonly xAxis: "X-axis";
1021
+ readonly ySecondaryAxis: "Second Y-axis";
1021
1022
  };
1022
1023
  readonly crossAxisSection: {
1023
1024
  readonly xAxis: "X-axis";