• Calculate the height based on element width and aspect ratio.

    Parameters

    • el: SVGElement

      The svg element

    • aspectRatio: string

      The aspect ratio in form number:number

    Returns number