Supported Custom Chart CLI Versions
Composer supports the following versions of its custom chart CLI: 4 and 5.
Custom chart CLI version 4 must be used with Zoomdata 4 and with Composer 5.9 and earlier. CLI version 5 should be used with Composer 5.9.1 and later.
Custom chart CLI version 5 only supports the use of
vnd.composer.v2+json as the
Content-Type for API routes. CLI version 4 only supports the use of
A custom chart is bundled before it is pushed to the Composer server. Bundling can be accomplished using a tool such as webpack. This creates a
/dist directory containing the necessary files required to send the visual to the Composer server.
Composer recommends that you install custom chart CLI version 4 or 5 globally and migrate any existing custom charts from older CLI versions to the CLI version 4 and 5 directory structure. See Migrating Custom Charts.