LWT JavaScript API
    Preparing search index...
    • Create or update a status chart for a text.

      Parameters

      • textId: string

        The text ID

      • Optionaldata: Record<number, number>

        Optional status data (if not provided, reads from DOM)

      Returns Promise<
          | Chart<
              keyof ChartTypeRegistry,
              (number | Point | [number, number] | BubbleDataPoint | null)[],
              unknown,
          >
          | null,
      >

      The Chart instance or null if canvas not found