@carbon/charts
    Preparing search index...

    Function getTransformOffsets

    • Gets x and y coordinates from HTML transform attribute

      Parameters

      • transform: string

        string the transform attribute string ie. transform(x,y)

      Returns { x: number; y: number }

      Returns an object with x and y offsets of the transform