Function drawingShownOnInterval

  • Whether a drawing is shown on a chart whose interval is interval. A drawing with no range is shown on every interval. For a host marking the drawings a range hides (an objects panel, a settings preview) without a controller at hand; DrawingController.shownOnInterval answers for the chart the controller is on.

    Parameters

    • drawing: Pick<Drawing, "intervals">
    • interval: undefined | null | string

    Returns boolean