@barchart/chart-lib 2.383.1 → 2.384.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.
@@ -878,6 +878,10 @@ declare module "@barchart/chart-lib" {
878
878
  * @default false
879
879
  */
880
880
  allAnnotationsLocked: boolean;
881
+ /** Globally hides annotations, studies, or both without changing individual visibility settings.
882
+ * @default "None"
883
+ */
884
+ hiddenItems?: HiddenItems;
881
885
  };
882
886
 
883
887
  export type AnnotationModel = {
@@ -1611,6 +1615,7 @@ declare module "@barchart/chart-lib" {
1611
1615
  showMinMaxArc?: boolean;
1612
1616
  showGoToLatest?: boolean;
1613
1617
  allAnnotationsLocked?: boolean;
1618
+ hiddenItems?: HiddenItems;
1614
1619
  exprSkipLeadingEmpty?: boolean;
1615
1620
  extendedHours?: boolean;
1616
1621
  realTimeCboeBzx?: boolean;
@@ -1622,6 +1627,10 @@ declare module "@barchart/chart-lib" {
1622
1627
 
1623
1628
  export type ShowLastValue = "None" | "All" | "Main";
1624
1629
 
1630
+ const HIDDEN_ITEMS: readonly ["None", "Annotations", "Studies", "All"];
1631
+
1632
+ export type HiddenItems = (typeof HIDDEN_ITEMS)[number];
1633
+
1625
1634
  export interface PlotAccessor {
1626
1635
  id: string;
1627
1636
  context: {