ChartWindowOnDropped

Description

The ChartWindowOnDropped method returns the number of the chart subwindow where the mouse was last clicked.

Syntax

public ChartWindowOnDropped(): number

Return Value

Returns a number representing the subwindow number where the mouse was clicked.

Example

try {
  const windowNumber = this.api.ChartWindowOnDropped();
  console.log(`Mouse clicked in subwindow ${windowNumber}`);
} catch (error) {
  console.error("Failed to get dropped window number:", error.message);
}

Last updated