The ID of the Datawrapper chart, table, or map to update.
The notes text. An empty string clears the notes.
Optional authentication and response settings.
OptionalapiKey?: stringThe name of the environment variable containing the API key. Defaults to "DATAWRAPPER_KEY".
OptionalreturnResponse?: booleanIf true, returns the unconsumed response without checking its status. Defaults to false.
A promise resolving to void, or to the raw Response when requested. By default, non-200 responses throw an error.
Updates the notes field of a Datawrapper chart, table, or map.
This function delegates to
updateInfoDW()and logs a deprecation warning once per module instance. UseupdateInfoDW(chartId, { note }, options)instead.