Function useChartDoc

  • Get the document the chart is currently assigned to, which changes when popped-out. Used for mouse events etc that were previously on window to allow dragging out of the chart itself.

    Returns Document

    • use useOuterContainer instead.