igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
108 lines (107 loc) • 4.45 kB
TypeScript
import { TimeAxisLabelFormat } from "./TimeAxisLabelFormat";
import { IgcHTMLElement } from "igniteui-webcomponents-core";
import { IgcLabelFormatOverrideEventArgs } from "./igc-label-format-override-event-args";
export declare class IgcTimeAxisLabelFormatComponent extends IgcHTMLElement {
protected _implementation: any;
get i(): TimeAxisLabelFormat;
private onImplementationCreated;
constructor();
protected createImplementation(): TimeAxisLabelFormat;
private _renderer;
private _provideRenderer;
static _createFromInternal(internal: any): IgcTimeAxisLabelFormatComponent;
private _settingAttributes;
protected _attached: boolean;
private _queuedSetAttributes;
protected _enqueueSetAttribute(attrName: string, attrValue: string): void;
protected _flushQueuedAttributes(): void;
protected _a(attrName: string, attrValue: any): void;
connectedCallback(): void;
disconnectedCallback(): void;
private static _observedAttributesIgcTimeAxisLabelFormatComponent;
static get observedAttributes(): string[];
private _updatingFromAttribute;
attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
static htmlTagName: string;
protected static _isElementRegistered: boolean;
static register(): void;
/**
* The visible axis range at which to apply this label format.
*
* The `Range` property provide the visible axis range at which to apply this label format.
*
* ```ts
* let labelFormat = new TimeAxisLabelFormat();
* labelFormat.format = "hh:mm:ss";
* labelFormat.range = 1000;
* this.xAxis.labelFormats.add(labelFormat);
* labelFormat = new TimeAxisLabelFormat();
* labelFormat.format = "hh:mm";
* labelFormat.range = 60 * 1000;
* this.xAxis.labelFormats.add(labelFormat);
* labelFormat = new TimeAxisLabelFormat();
* labelFormat.format = "MMM-dd-yy";
* labelFormat.range = 24 * 60 * 60 * 1000;
* this.xAxis.labelFormats.add(labelFormat);
* ```
*/
get range(): number;
set range(v: number);
/**
* The DateTime format string to apply.
* Some common DateTime format strings are: yyyy, MM/dd/yy, and hh:mm:ss.
*
* The `Format` property provide the DateTime format string to apply.
*
* ```ts
* let labelFormat = new TimeAxisLabelFormat();
* labelFormat.format = "hh:mm:ss";
* labelFormat.range = 1000;
* this.xAxis.labelFormats.add(labelFormat);
* labelFormat = new TimeAxisLabelFormat();
* labelFormat.format = "hh:mm";
* labelFormat.range = 60 * 1000;
* this.xAxis.labelFormats.add(labelFormat);
* labelFormat = new TimeAxisLabelFormat();
* labelFormat.format = "MMM-dd-yy";
* labelFormat.range = 24 * 60 * 60 * 1000;
* this.xAxis.labelFormats.add(labelFormat);
* ```
*/
get format(): string;
set format(v: string);
/**
* The DateTime format string to apply, if the year is repeated from the prior date.
* Some common DateTime format strings are: yyyy, MM/dd/yy, and hh:mm:ss.
*/
get repeatedYearFormat(): string;
set repeatedYearFormat(v: string);
/**
* The DateTime format string to apply, if the month is repeated from the prior date.
* Some common DateTime format strings are: yyyy, MM/dd/yy, and hh:mm:ss.
*/
get repeatedMonthFormat(): string;
set repeatedMonthFormat(v: string);
/**
* The DateTime format string to apply, if the day is repeated from the prior date.
* Some common DateTime format strings are: yyyy, MM/dd/yy, and hh:mm:ss.
*/
get repeatedDayFormat(): string;
set repeatedDayFormat(v: string);
findByName(name: string): any;
protected __p: string;
protected _hasUserValues: Set<string>;
protected get hasUserValues(): Set<string>;
protected __m(propertyName: string): void;
protected _stylingContainer: any;
protected _stylingParent: any;
protected _inStyling: boolean;
protected _styling(container: any, component: any, parent?: any): void;
private _labelFormatOverride;
private _labelFormatOverride_wrapped;
/**
* Gets or sets a label formatting override callback, allowing the user to take full control of label generation for the TimeXAxis.
*/
get labelFormatOverride(): (s: IgcTimeAxisLabelFormatComponent, e: IgcLabelFormatOverrideEventArgs) => void;
set labelFormatOverride(ev: (s: IgcTimeAxisLabelFormatComponent, e: IgcLabelFormatOverrideEventArgs) => void);
}