stream-charts
    Preparing search index...
    • Grabs the client-height of the svg element, or 1 if the svg element hasn't yet been initialized. The client-height is a read-only property returns the height of the html element, including vertical padding and borders, as an integer. The reason that we return 1 when the svg element hasn't yet been initialized, is so that the aspect (width / height) is 1.

      Parameters

      • svg: SVGElement | null

        The svg element

      Returns number

      The client height of the svg