1 | import { Color } from '../utils/color-sets';
|
2 | import { StringOrNumberOrDate } from '../models/chart-data.model';
|
3 | import { ScaleType } from './types/scale-type.enum';
|
4 | import { Gradient } from './types/gradient.interface';
|
5 | export declare class ColorHelper {
|
6 | scale: any;
|
7 | scaleType: ScaleType;
|
8 | colorDomain: string[];
|
9 | domain: number[] | string[];
|
10 | customColors: any;
|
11 | constructor(scheme: string | Color, type: ScaleType, domain: number[] | string[], customColors?: any);
|
12 | generateColorScheme(scheme: string | Color, type: ScaleType, domain: number[] | string[]): any;
|
13 | getColor(value: StringOrNumberOrDate): string;
|
14 | getLinearGradientStops(value: number | string, start?: number | string): Gradient[];
|
15 | }
|