@barchart/chart-lib 2.278.0 → 2.279.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.
@@ -1385,7 +1385,8 @@ declare module "@barchart/chart-lib" {
1385
1385
  | OutlineAccessor
1386
1386
  | ThemeAccessor
1387
1387
  | ClearAccessor
1388
- | MovePlotAccessor;
1388
+ | MovePlotAccessor
1389
+ | PinPlotAccessor;
1389
1390
 
1390
1391
  export interface ClearAccessor {
1391
1392
  id: "Clear";
@@ -1597,6 +1598,18 @@ declare module "@barchart/chart-lib" {
1597
1598
  };
1598
1599
  }
1599
1600
 
1601
+ export type PinPlotAxis = "PrimaryAxis" | "SecondaryAxis" | "NoAxis";
1602
+
1603
+ export interface PinPlotAccessor {
1604
+ id: "PinPlot";
1605
+ context: {
1606
+ id?: "Get";
1607
+ index: number;
1608
+ type: PlotType;
1609
+ targetAxis?: PinPlotAxis;
1610
+ };
1611
+ }
1612
+
1600
1613
  export interface TemplateAccessor {
1601
1614
  id: string;
1602
1615
  context: {
@@ -2404,20 +2417,13 @@ declare module "@barchart/chart-lib" {
2404
2417
  fill: FillTrait;
2405
2418
  }
2406
2419
 
2407
- export interface DetachedScale {
2408
- /** Top scale margin as (mathematical) percentage, defaults to 0.01 (1%) */
2409
- marginTop?: number;
2410
- /** Bottom scale margin as (mathematical) percentage, defaults to 0.01 (1%) */
2411
- marginBottom?: number;
2412
- }
2413
-
2414
2420
  export interface StudyDefaults {
2415
2421
  source?: string;
2416
2422
  inputs?: StudyInput[];
2417
2423
  curves: Curve[];
2418
2424
  levels?: StudyLevel[];
2419
2425
  bands?: StudyBand[];
2420
- detachedScale?: DetachedScale;
2426
+ detachedScale?: boolean;
2421
2427
  }
2422
2428
 
2423
2429
  export interface Study {