igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
150 lines (149 loc) • 5.87 kB
TypeScript
import { AxisAnnotation as AxisAnnotation_internal } from "./AxisAnnotation";
/**
* Represents an axis annotation
*/
export declare class IgxAxisAnnotation {
protected createImplementation(): AxisAnnotation_internal;
protected _implementation: any;
/**
* @hidden
*/
get i(): AxisAnnotation_internal;
private onImplementationCreated;
constructor();
protected _provideImplementation(i: any): void;
/**
* Gets or sets the value at which this annotation is displayed on the axis.
*/
get value(): any;
set value(v: any);
/**
* Gets or sets the text that should be displayed for the annotation. Leave null to display the value automatically.
*/
get text(): string;
set text(v: string);
/**
* Gets or sets the corner radius to use for the axis annotation borders.
*/
get backgroundCornerRadius(): number;
set backgroundCornerRadius(v: number);
static ngAcceptInputType_backgroundCornerRadius: number | string;
/**
* Gets or sets the label format string to use for the label.
*/
get labelFormat(): string;
set labelFormat(v: string);
/**
* Gets or sets the format specifiers to use with the LabelFormat string.
*/
get labelFormatSpecifiers(): any[];
set labelFormatSpecifiers(v: any[]);
static ngAcceptInputType_labelFormatSpecifiers: any[] | string;
/**
* Sets or gets a function which takes an object that produces a formatted label for the value of this annotation.
*/
get formatLabel(): (item: any) => string;
set formatLabel(v: (item: any) => string);
/**
* Gets or sets the color to use for the text in the annotation.
*/
get textColor(): string;
set textColor(v: string);
/**
* Gets or sets the background to use for tha axis annotation box.
*/
get background(): string;
set background(v: string);
/**
* Gets or sets the Outline to use for tha axis annotation box.
*/
get outline(): string;
set outline(v: string);
/**
* Gets or sets the border stroke thickness to use for tha axis annotation box.
*/
get strokeThickness(): number;
set strokeThickness(v: number);
static ngAcceptInputType_strokeThickness: number | string;
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get backgroundPaddingLeft(): number;
set backgroundPaddingLeft(v: number);
static ngAcceptInputType_backgroundPaddingLeft: number | string;
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get backgroundPaddingTop(): number;
set backgroundPaddingTop(v: number);
static ngAcceptInputType_backgroundPaddingTop: number | string;
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get backgroundPaddingRight(): number;
set backgroundPaddingRight(v: number);
static ngAcceptInputType_backgroundPaddingRight: number | string;
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get backgroundPaddingBottom(): number;
set backgroundPaddingBottom(v: number);
static ngAcceptInputType_backgroundPaddingBottom: number | string;
/**
* Gets or sets whether the annotation is pill shaped. This will automatically adjust the background corner radius to make
* it appear pill shaped.
*/
get isPillShaped(): boolean;
set isPillShaped(v: boolean);
static ngAcceptInputType_isPillShaped: boolean | string;
/**
* Gets or sets whether the badge is enabled in the annotation.
*/
get isBadgeEnabled(): boolean;
set isBadgeEnabled(v: boolean);
static ngAcceptInputType_isBadgeEnabled: boolean | string;
/**
* Gets or sets the background color to use for the badge inside the axis annotation box.
*/
get badgeBackground(): string;
set badgeBackground(v: string);
/**
* Gets or sets the outline color to use for the badge inside the axis annotation box.
*/
get badgeOutline(): string;
set badgeOutline(v: string);
/**
* Gets or sets the outline thickness for the badge inside the axis annotation box.
*/
get badgeOutlineThickness(): number;
set badgeOutlineThickness(v: number);
static ngAcceptInputType_badgeOutlineThickness: number | string;
/**
* Gets or sets the corner radius for the badge inside the axis annotation box.
*/
get badgeCornerRadius(): number;
set badgeCornerRadius(v: number);
static ngAcceptInputType_badgeCornerRadius: number | string;
/**
* Gets or sets the spacing between the badge and text inside the axis annotation box.
*/
get badgeMargin(): number;
set badgeMargin(v: number);
static ngAcceptInputType_badgeMargin: number | string;
/**
* Gets or sets the size of the badge inside the axis annotation box.
*/
get badgeSize(): number;
set badgeSize(v: number);
static ngAcceptInputType_badgeSize: number | string;
/**
* Gets or sets the image path to use for the badge.
*/
get badgeImagePath(): string;
set badgeImagePath(v: string);
findByName(name: string): any;
resetCachedExtent(): void;
resolveLabelValue(): string;
protected _zoneRunner: (act: () => void) => void;
protected _runInZone(act: () => void): void;
}