Data Decimation Configuration Options

  • enables: This option is used to control the data decimation, which enhances the chart performance by reducing the data points automatically.
  • algorithm: This option is used to specify the decimation algorithm like (LTTB or min-max) to perform the chart representation either for minimal data points or peak preservation.
  • samples: This option is used when the LTTB algorithm is used, this determines the number of samples in the output dataset by controlling the level of data granularity.
  • threshold: This option is used to set the trigger point for decimation.

Chart.js Data Decimation Configuration

Chart.js Data Decimation is the feature developed for line charts, allowing us to reduce the data points automatically. By this, the chart’s performance and visuals are optimized in proper clear form.

Syntax:

options: {
  plugins: {
    decimation: {
      algorithm: 'lttb', or  'min-max'
      // Other configuration options
    }
  }
}

Similar Reads

Data Decimation Configuration Options

enables: This option is used to control the data decimation, which enhances the chart performance by reducing the data points automatically. algorithm: This option is used to specify the decimation algorithm like (LTTB or min-max) to perform the chart representation either for minimal data points or peak preservation. samples: This option is used when the LTTB algorithm is used, this determines the number of samples in the output dataset by controlling the level of data granularity. threshold: This option is used to set the trigger point for decimation....

Data Decimation Configuration Algorithms

Largest Triangle Three Bucket (LTTB) Decimation: This algorithm is developed to reduce the number of data points by revealing the trends in the data using a sparse dataset. The most efficient use of the algorithm is in the scenarios where the simplified view of the data is intended to be displayed....