Skip to main content

updateChart

Callable

  • updateChart(chart: string, newCounts: number | number[], update?: (chart: string, index: number) => void): void

  • Updates a chart's lines and avatars


    Parameters

    • chart: string

      The chart to update

    • newCounts: number | number[]

      The new counts to add to the chart

    • optionalupdate: (chart: string, index: number) => void

      The function to call to update additional content, such as avatars

      Returns void