• Combine any number of Attachable objects (for example, series) into a single attachable. This is mainly intended to show a combination of several series as just a single entry in the chart legend:

     // Example syntax
    const series1 = chart.addLineSeries({ legend: null })
    const series2 = chart.addLineSeries({ legend: null })
    chart.legend.add(combineAttachables(series1, series2, ...))

    Returns

    A single Attachable that forwards interfacing to all the parts

    Parameters

    • Rest ...parts: Attachable[]

      List of Attachables.

    Returns Attachable & Highlightable