@swimlane/ngx-charts
Version:
Declarative Charting Framework for Angular
20 lines (19 loc) • 1.08 kB
TypeScript
import { OnChanges, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ScaleLegendComponent implements OnChanges {
valueRange: number[];
colors: any;
height: number;
width: number;
horizontal: boolean;
gradient: string;
ngOnChanges(changes: SimpleChanges): void;
/**
* Generates the string used in the gradient stylesheet properties
* @param colors array of colors
* @param splits array of splits on a scale of (0, 1)
*/
gradientString(colors: string[], splits: number[]): string;
static ɵfac: i0.ɵɵFactoryDeclaration<ScaleLegendComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ScaleLegendComponent, "ngx-charts-scale-legend", never, { "valueRange": { "alias": "valueRange"; "required": false; }; "colors": { "alias": "colors"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; }, {}, never, never, false, never>;
}