WindowBarsPerChart
Description
Syntax
public WindowBarsPerChart(): numberReturn Value
Example
try {
const visibleBars = this.api.WindowBarsPerChart();
console.log(`Number of visible bars: ${visibleBars}`);
} catch (error) {
console.error("Failed to get visible bars count:", error.message);
}Last updated