• Draws a line axis with 6 buckets.

    Parameters

    • startGradPixels: number

      The starting pixel position for the gradient.

    • o20GradPixels: number

      The 20% pixel position for the gradient.

    • o40GradPixels: number

      The 40% pixel position for the gradient.

    • o60GradPixels: number

      The 60% pixel position for the gradient.

    • o80GradPixels: number

      The 80% pixel position for the gradient.

    • endGradPixels: number

      The ending pixel position for the gradient.

    • renderOptions: RenderOptions

      The rendering options.

    • topPadding: number

      The top padding for positioning.

    Returns fabric.Group

    A Fabric.js group containing the line axis.