Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
private getColorScale(){
const scales = this.get("scales");
const colorField = this.get('color').fields[0];
return scales[colorField];
}
private matchingSquar(values,threshold){
}
}
registerElement('contourHeatmap', ContourHeatmap);
draw(data) {
this.set(MAPPED_DATA, data);
this._prepareRange();
this._prepareSize();
const size = this.get(HEATMAP_SIZE);
this._prepareGreyScaleBlurredCircle(size.radius);
const range = this.get(VALUE_RANGE);
this.drawWithRange(range);
}
}
registerElement('linearHeatmap', LinearHeatmap);