Chart Components

Deprecation Notice:

With the introduction of Zoomdata 3.x, custom chart components have been
deprecated. Custom charts built in previous versions of Zoomdata will continue to
work upon an upgrade to 3.x.

In Zoomdata 3.x and later, the chart components have been replaced by using
import and export ES2015 statements in the chart's source files. The source files
will be compiled by the build tools included with the zoomdata-chart-cli.

Chart components store the code that powers the custom charts. There are two types of chart components in Zoomdata:

  1. JavaScript Components
  2. CSS Components

There is no limit to the number of components a chart can have. Typically, a chart has a single JS component and single CSS component. Depending on the chart’s complexity, developers may opt to separate the chart’s JS code into multiple components.