ng-color-scale
Version:
[](https://www.npmjs.com/package/ng-color-scale) [](https://npmjs.org/ng-color-scale)  • 817 B
TypeScript
import { OnChanges, ElementRef } from '@angular/core';
export declare class NgColorScaleComponent implements OnChanges {
private host;
data: number;
leftLabel: string;
rightLabel: string;
middleLabel: string;
minVal: number;
maxVal: number;
hideAxis: boolean;
colorList: string[];
displayMeta: string;
private _margin;
private _svg;
private _chart;
private _width;
private _height;
private _barWidth;
private _xScale;
private _colors;
private _textHeight;
private _axisHeight;
private _axisOffset;
private _id;
constructor(host: ElementRef);
ngOnChanges(): void;
ngOnInit(): void;
private _createChart;
private _drawAxis;
private _drawcolorBar;
private _drawLabels;
_onResize(event: any): void;
}