src/models/chart-model/index.js
File index.js
has 356 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* eslint-disable no-param-reassign */
import extend from 'extend';
import KEYS from '../../constants/keys';
import NUMBERS from '../../constants/numbers';
import createViewHandler from '../../view-handler';
Consider simplifying this complex logical expression. Open
Open
if (
options.chartAnimations === false ||
interactionInProgress ||
meta.isPartialUpdating ||
meta.isSizeChanging ||