@barchart/chart-lib 2.203.1 → 2.203.3

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.
@@ -1763,7 +1763,7 @@ declare module "@barchart/chart-lib" {
1763
1763
  /** If you are going to be creating and removing a lot of charts during the host page's lifetime, you should always call the `shutdown` method when you no longer need the chart. Please note that if you are simply going to @see load another chart's definition into the same chart instance, you don't need to call this method. In other words, this method applies if you are tearing down chart completely, and clearing the @see elementId (and @see hostElement) completely. */
1764
1764
  shutdown(): boolean;
1765
1765
  /** Call this method when you need to place an annotation on the chart. Detailed information can be found in the online documentation. */
1766
- annotate(id: string, traits?: AnnotationTraits, annParam?: any): void;
1766
+ annotate(id?: string, traits?: AnnotationTraits, annParam?: any): void;
1767
1767
  /** Helper method to return back the default template, the same one you've provided during the feed's @see init call. */
1768
1768
  getDefaultTemplate(): string;
1769
1769
  /** Main API entry point. Please check out online documentation for details. */
@@ -2159,7 +2159,6 @@ declare module "@barchart/chart-lib" {
2159
2159
 
2160
2160
  export interface StudyMeta {
2161
2161
  title: string;
2162
- caption: string;
2163
2162
  overlay: boolean;
2164
2163
  decimals?: number;
2165
2164
  range?: StudyMetaRange;