@barchart/chart-lib 2.279.2 → 2.281.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.
@@ -1022,7 +1022,7 @@ declare module "@barchart/chart-lib" {
1022
1022
  *
1023
1023
  * By default, this is unset and the volume coloring will be identical to the main plot's bar coloring. This value will only be used when the main plot does _not_ have any bar coloring set (for example, when the main plot is a line or an area plot).
1024
1024
  */
1025
- export type DefaultVolumeBarColoring = "OpenToClose" | "CloseToClose";
1025
+ export type DefaultBarColoring = "OpenToClose" | "CloseToClose";
1026
1026
 
1027
1027
  interface ICredentials {
1028
1028
  username: string;
@@ -1206,7 +1206,8 @@ declare module "@barchart/chart-lib" {
1206
1206
  useAllFieldsForComparison?: boolean;
1207
1207
  credentials?: ICredentials;
1208
1208
  apiKey?: string;
1209
- defaultVolumeBarColoring?: DefaultVolumeBarColoring;
1209
+ defaultVolumeBarColoring?: DefaultBarColoring;
1210
+ defaultMainPlotBarColoring?: DefaultBarColoring;
1210
1211
  colorfulAnnotations?: boolean;
1211
1212
  fetch?(kind: UrlKind, relativeUrl: string): Promise<string>;
1212
1213
  getCustomEventPopup(view: any): CustomEventPopup | null;
@@ -2279,6 +2280,8 @@ declare module "@barchart/chart-lib" {
2279
2280
  getChart(renderTo: RenderTo): ChartAccessor | null;
2280
2281
  /** Returns the version of the chart engine. The version is always traced to the JS console on startup. */
2281
2282
  version: string;
2283
+ /** Returns the configuration passed to the data feed on construction merged with the default values. */
2284
+ config: Config;
2282
2285
  /** The instance producing time series objects. */
2283
2286
  getTimeSeriesDataSource(): ITimeSeriesSource;
2284
2287
  /** The instance producing meta data objects. */