Release v30.3.0 (from 913720ecd6e096f04e940369d0a95b60464ec3a1)

This commit is contained in:
jenkins
2026-01-21 13:16:26 +00:00
parent ae99ffb929
commit 6fe5436603
58 changed files with 511 additions and 469 deletions

View File

@@ -112,6 +112,7 @@ export declare enum ActionId {
ChartIndicatorShowSettingsDialog = "Chart.Indicator.ShowSettingsDialog",
ChartLegendToggleLastDayChangeValuesVisibility = "Chart.Legend.ToggleLastDayChangeValuesVisibility",
ChartLegendToggleBarChangeValuesVisibility = "Chart.Legend.ToggleBarChangeValuesVisibility",
ChartLegendToggleBarChangeColor = "Chart.Legend.ToggleBarChangeColor",
ChartLegendTogglePriceSourceVisibility = "Chart.Legend.TogglePriceSourceVisibility",
ChartLegendToggleIndicatorArgumentsVisibility = "Chart.Legend.ToggleIndicatorArgumentsVisibility",
ChartLegendToggleIndicatorTitlesVisibility = "Chart.Legend.ToggleIndicatorTitlesVisibility",
@@ -11490,6 +11491,19 @@ export interface IChartWidgetApi {
* @param {number} unixTime - date timestamp
*/
endOfPeriodToBarTime(unixTime: number): number;
/**
* Apply overrides to a specific chart instance without reloading. See also {@link ChartingLibraryWidgetOptions.overrides}.
*
* **Example**
* ```javascript
* widget.chart(0).applyOverrides({"paneProperties.legendProperties.showLegend": false});
* ```
*
* If you want to apply overrides to all charts, use {@link IChartingLibraryWidget.applyOverrides} instead.
*
* @param overrides An object of overrides to apply to the chart.
*/
applyOverrides(props: object): void;
/**
* Get an API object for interacting with the timescale.
*
@@ -11944,9 +11958,16 @@ export interface IChartingLibraryWidget {
*/
addCustomCSSFile(url: string): void;
/**
* Apply overrides to the chart without reloading. See also {@link ChartingLibraryWidgetOptions.overrides}.
* Apply overrides to all charts currently in the widget without reloading. See also {@link ChartingLibraryWidgetOptions.overrides}.
*
* @param overrides An object of overrides to apply to the chart.
* **Example**
* ```javascript
* widget.applyOverrides({"paneProperties.legendProperties.showLegend": false});
* ```
*
* If you want to apply overrides to a specific chart only, use {@link IChartWidgetApi.applyOverrides} instead.
*
* @param overrides An object of overrides to apply to the chart(s).
*/
applyOverrides<TOverrides extends Partial<ChartPropertiesOverrides>>(overrides: TOverrides): void;
/**
@@ -29589,6 +29610,11 @@ export type ChartingLibraryFeatureset =
* @default true
*/
"long_press_floating_tooltip" |
/**
* Enables dynamic coloring of bar change values in the legend based on their value (positive, negative, or zero). Applies only to non-OHLC chart types.
* @default false
*/
"legend_bar_change_colors_based_on_value" |
/**
* Enables chart drag event handling.
* See [Enable drag-to-export feature](https://www.tradingview.com/charting-library-docs/latest/ui_elements/Chart#enable-drag-to-export-feature) for more implementation details.