igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
43 lines (42 loc) • 1.74 kB
TypeScript
import { ColorScaleInterpolationMode } from "./ColorScaleInterpolationMode";
import { IgcColorScaleComponent } from "./igc-color-scale-component";
import { CustomPaletteColorScale } from "./CustomPaletteColorScale";
/**
* ColorScale class for selecting a color from a given palette, or interpolating between adjacent colors in that palette.
*/
export declare class IgcCustomPaletteColorScaleComponent extends IgcColorScaleComponent {
protected createImplementation(): CustomPaletteColorScale;
/**
* @hidden
*/
get i(): CustomPaletteColorScale;
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
private static _observedAttributesIgcCustomPaletteColorScaleComponent;
static get observedAttributes(): string[];
static htmlTagName: string;
protected static _isElementRegistered: boolean;
static register(): void;
/**
* The lowest value to assign a color. Any given value less than this value will be made Transparent.
*/
get minimumValue(): number;
set minimumValue(v: number);
/**
* The highest value to assign a color. Any given value greater than this value will be made Transparent.
*/
get maximumValue(): number;
set maximumValue(v: number);
/**
* A list of colors to select from or interpolate between.
*/
get palette(): string[];
set palette(v: string[]);
/**
* The approach to use when getting a color from the palette.
*/
get interpolationMode(): ColorScaleInterpolationMode;
set interpolationMode(v: ColorScaleInterpolationMode);
providePalette(colors: string[]): void;
}