src/picasso-components/heat-map-highlight/index.js
Function render
has 77 lines of code (exceeds 60 allowed). Consider refactoring. Open
Open
render() {
const { element } = this.chart;
const heatMapCanvas = element.querySelector(`[data-key=${KEYS.COMPONENT.HEAT_MAP}]`);
const heatMapHighlightCanvas = this.renderer.element();
if (!heatMapCanvas || !heatMapHighlightCanvas) {