igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
111 lines (108 loc) • 3.68 kB
TypeScript
import { IgcCategoryAxisBaseComponent } from "./igc-category-axis-base-component";
import { TimeAxisBase } from "./TimeAxisBase";
/**
* Represents an category-based horizontal X axis that uses a DateTime scale.
*
* Represents horizontal axis that uses a DateTime scale.
*/
export declare abstract class IgcTimeAxisBaseComponent extends IgcCategoryAxisBaseComponent {
/**
* @hidden
*/
get i(): TimeAxisBase;
constructor();
connectedCallback(): void;
disconnectedCallback(): void;
private static _observedAttributesIgcTimeAxisBaseComponent;
static get observedAttributes(): string[];
/**
* Gets or sets the DateTime mapping property for the axis.
*
* Use `DateTimeMemberPath` property for DateTime mapping with the axis.
*/
get dateTimeMemberPath(): string;
set dateTimeMemberPath(v: string);
/**
* Gets or sets whether the data assigned to the date time axis should be considered pre-sorted by date/time.
*
* Use `IsDataPreSorted` property to decide if the data assigned to the date time axis should be considered pre-sorted by date/time.
*/
get isDataPreSorted(): boolean;
set isDataPreSorted(v: boolean);
/**
* Gets the coerced minimum value.
*
* Use `ActualMinimumValue` to get the coerced maximum value.
*/
get actualMinimumValue(): Date;
set actualMinimumValue(v: Date);
/**
* Gets the coerced maximum value.
*
* Use `ActualMaximumValue` to get the coerced maximum value
*/
get actualMaximumValue(): Date;
set actualMaximumValue(v: Date);
/**
* Gets or sets the axis MinimumValue.
*
* Use `MinimumValue` property for axis minimum value.
*
* ```ts
* this.timeXAxis.maximumValue="2019-12-26";
* ```
*/
get minimumValue(): Date;
set minimumValue(v: Date);
/**
* Gets or sets the axis MaximumValue.
*
* Use `MaximumValue` property for axis maximum value.
*
* ```ts
* this.timeXAxis.maximumValue="2019-12-26";
* ```
*/
get maximumValue(): Date;
set maximumValue(v: Date);
/**
* Checks if the axis is of date time axis type
*
* Use `IsDateTime` property to Checks if the axis is of date time axis type.
*
* ```ts
* const isDT = this.timeXAxis.isDateTime;
* ```
*/
get isDateTime(): boolean;
/**
* Checks if axis requires sorting of items
*
* Use `IsSorting` property to Checks if axis requires sorting of items.
*
* ```ts
* const isDT = this.timeXAxis.isDateTime;
* ```
*/
get isSorting(): boolean;
getMemberPathValue(memberPathName: string): string;
getFullRange(): number[];
getItemValue(item: any, memberPathName: string): any;
/**
* Gets the index of the data item with the value nearest the given value.
* @param unscaledValue * The value to find a value close to.
*/
getIndexClosestToUnscaledValue(unscaledValue: number): number;
/**
* Updates the axis when the data has been changed.
*/
notifyDataChanged(): void;
private _actualMinimumValueChange;
private _actualMinimumValueChange_wrapped;
get actualMinimumValueChange(): (s: IgcTimeAxisBaseComponent, e: Date) => void;
set actualMinimumValueChange(ev: (s: IgcTimeAxisBaseComponent, e: Date) => void);
private _actualMaximumValueChange;
private _actualMaximumValueChange_wrapped;
get actualMaximumValueChange(): (s: IgcTimeAxisBaseComponent, e: Date) => void;
set actualMaximumValueChange(ev: (s: IgcTimeAxisBaseComponent, e: Date) => void);
}