Supported Custom Chart CLI Versions

This applies to: Visual Data Discovery

Custom charts in Composer can be created and managed using the Composer Custom Chart CLI tool.

  • Composer Custom Chart CLI version 1 (composer-chart-cli) supports Composer 7.10 and later.
  • CLI version 6 (zoomdata-chart-cli) supports Composer 7.10 and earlier.
  • CLI version 5 (zoomdata-chart-cli) supports Composer 7.9 and earlier.

Composer Custom Chart CLI version 1 only supports the use of vnd.composer.v3+json as the Content-Type for API routes.

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.

Install Composer Custom Chart CLI version 1 globally. Existing custom charts from older CLI versions (5 and 6) use the same directory structure as the Composer Custom Chart CLI version 1 directory structure.