gantt-renderer
    Preparing search index...

    Function formatLabel

    • Formats a label template by replacing {0} with the given argument.

      Parameters

      • template: string

        The template string containing {0} as placeholder.

      • arg: string

        The value to substitute for {0}.

      Returns string

      The formatted string with the placeholder replaced.