UNPKG

@nativescript-community/ui-chart

Version:

A powerful chart / graph plugin, supporting line, bar, pie, radar, bubble, and candlestick charts as well as scaling, panning and animations.

35 lines (33 loc) 1.01 kB
import { Color } from '@nativescript/core'; /** * Class that holds predefined color integer arrays (e.g. * ColorTemplate.VORDIPLOM_COLORS) and convenience methods for loading colors * from resources. * */ export declare class ColorTemplate { /** * an "invalid" color that indicates that no color is set */ static COLOR_NONE: Color; /** * this "color" is used for the Legend creation and indicates that the next * form should be skipped */ static COLOR_SKIP: Color; static get LIBERTY_COLORS(): any; static get JOYFUL_COLORS(): any; static get PASTEL_COLORS(): any; static get COLORFUL_COLORS(): any; static get VORDIPLOM_COLORS(): any; static get MATERIAL_COLORS(): any; static getColorInstance(c: Color | number | string): Color; /** * Sets the alpha component of the given color. * * @param color * @param alpha 0 - 255 * @return */ static colorWithAlpha(color: Color, alpha: any): Color; }