Skip to content

Commit

Permalink
Merge pull request #1742 from tradingview/fix_doc_for_setVisibleLogic…
Browse files Browse the repository at this point in the history
…alRange

Update example for setVisibleLogicalRange for represent indexes inste…
  • Loading branch information
SlicedSilver authored Nov 28, 2024
2 parents dc9204d + 85a1424 commit 24a5761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/itime-scale-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export interface ITimeScaleApi<HorzScaleItem> {
* @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<number>): void;
Expand Down

0 comments on commit 24a5761

Please sign in to comment.