@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
32 lines (31 loc) • 1.82 kB
TypeScript
import * as i0 from "@angular/core";
export declare class SparkComponent {
private readonly _colorService;
values: number[];
barHeight: number;
inlineLabel: string;
topLeftLabel: string;
topRightLabel: string;
bottomLeftLabel: string;
bottomRightLabel: string;
tooltip: string;
ariaLabel: string | string[];
ariaDescription: string;
private _trackColor;
private _theme;
private _barColor;
set theme(value: string);
get theme(): string;
set trackColor(value: string);
get trackColor(): string;
set barColor(value: string | string[]);
get barColor(): string | string[];
set value(value: number | number[]);
get value(): number | number[];
/**
* Get the aria label for the spark chart
*/
getAriaLabel(): string | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration<SparkComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SparkComponent, "ux-spark", never, { "barHeight": { "alias": "barHeight"; "required": false; }; "inlineLabel": { "alias": "inlineLabel"; "required": false; }; "topLeftLabel": { "alias": "topLeftLabel"; "required": false; }; "topRightLabel": { "alias": "topRightLabel"; "required": false; }; "bottomLeftLabel": { "alias": "bottomLeftLabel"; "required": false; }; "bottomRightLabel": { "alias": "bottomRightLabel"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaDescription": { "alias": "aria-description"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "trackColor": { "alias": "trackColor"; "required": false; }; "barColor": { "alias": "barColor"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
}