From 85a1424135e6ab9862eaf72692d8c41c6adbe303 Mon Sep 17 00:00:00 2001 From: signatenkov Date: Tue, 26 Nov 2024 10:23:52 +0000 Subject: [PATCH] Update example for setVisibleLogicalRange for represent indexes instead of timestamp --- src/api/itime-scale-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/itime-scale-api.ts b/src/api/itime-scale-api.ts index bd25d9f16a..322412539f 100644 --- a/src/api/itime-scale-api.ts +++ b/src/api/itime-scale-api.ts @@ -79,7 +79,7 @@ export interface ITimeScaleApi { * @param range - Target visible logical range of data. * @example * ```js - * chart.timeScale().setVisibleLogicalRange({ from: 0, to: Date.now() / 1000 }); + * chart.timeScale().setVisibleLogicalRange({ from: 0, to: 10 }); * ``` */ setVisibleLogicalRange(range: Range): void;